Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 111.5 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.344/2.344, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 64.11 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7401, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1688/0.909, allocations: 173.8 MB / 1.378 GB, free: 15.19 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003724/0.9128, allocations: 2.291 MB / 1.38 GB, free: 12.89 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.9131, allocations: 11.94 kB / 1.38 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.9139, allocations: 238.3 kB / 1.381 GB, free: 12.64 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.9159, allocations: 0.9294 MB / 1.382 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.9177, allocations: 0.8282 MB / 1.382 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.9187, allocations: 0.9624 MB / 1.383 GB, free: 9.922 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.9192, allocations: 331.5 kB / 1.384 GB, free: 9.598 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.9197, allocations: 458.3 kB / 1.384 GB, free: 9.148 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.9201, allocations: 318.6 kB / 1.384 GB, free: 8.836 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.9202, allocations: 32 kB / 1.384 GB, free: 8.805 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.9215, allocations: 0.9937 MB / 1.385 GB, free: 7.809 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.9217, allocations: 147.5 kB / 1.385 GB, free: 7.664 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.9219, allocations: 234.8 kB / 1.386 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.9229, allocations: 0.9018 MB / 1.387 GB, free: 6.531 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.9229, allocations: 0 / 1.387 GB, free: 6.531 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9229, allocations: 0 / 1.387 GB, free: 6.531 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.9229, allocations: 0 / 1.387 GB, free: 6.531 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001096/0.924, allocations: 0.8061 MB / 1.387 GB, free: 5.676 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.9241, allocations: 12.03 kB / 1.387 GB, free: 5.664 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9252, allocations: 183.1 kB / 1.388 GB, free: 5.484 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.9258, allocations: 393.4 kB / 1.388 GB, free: 5.059 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.9258, allocations: 20.66 kB / 1.388 GB, free: 5.039 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.9259, allocations: 31.91 kB / 1.388 GB, free: 5.008 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.9264, allocations: 377.1 kB / 1.388 GB, free: 4.605 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.9265, allocations: 7.922 kB / 1.388 GB, free: 4.598 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.9265, allocations: 19.94 kB / 1.388 GB, free: 4.578 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.9265, allocations: 15.94 kB / 1.388 GB, free: 4.562 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.927, allocations: 258 kB / 1.389 GB, free: 4.312 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.9286, allocations: 1.664 MB / 1.39 GB, free: 2.512 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.929, allocations: 210.5 kB / 1.39 GB, free: 2.297 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.9292, allocations: 112.8 kB / 1.391 GB, free: 2.184 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/0.9301, allocations: 0.8701 MB / 1.391 GB, free: 1.129 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.9301, allocations: 34.56 kB / 1.391 GB, free: 1.086 MB / 1.107 GB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.9301, allocations: 0 / 1.391 GB, free: 1.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=23): time 0.0008114/0.931, allocations: 367.1 kB / 1.392 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.931, allocations: 55.41 kB / 1.392 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.9314, allocations: 418 kB / 1.392 GB, free: 248 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.9314, allocations: 29.7 kB / 1.392 GB, free: 212 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.9316, allocations: 212.5 kB / 1.392 GB, free: 15.99 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.9317, allocations: 82.75 kB / 1.393 GB, free: 15.91 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.9317, allocations: 49.7 kB / 1.393 GB, free: 15.86 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.9319, allocations: 358.7 kB / 1.393 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.932, allocations: 75.95 kB / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.9323, allocations: 123.4 kB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.9326, allocations: 207.3 kB / 1.393 GB, free: 15.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9326, allocations: 4 kB / 1.393 GB, free: 15.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004734/0.9331, allocations: 283.5 kB / 1.394 GB, free: 14.79 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.9331, allocations: 7.984 kB / 1.394 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9331, allocations: 0 / 1.394 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.9332, allocations: 4 kB / 1.394 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.9334, allocations: 51.92 kB / 1.394 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.9334, allocations: 12.06 kB / 1.394 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.9336, allocations: 35.62 kB / 1.394 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.9337, allocations: 8 kB / 1.394 GB, free: 14.67 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.9338, allocations: 165.8 kB / 1.394 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.9339, allocations: 39.53 kB / 1.394 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.9344, allocations: 291.2 kB / 1.394 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9344, allocations: 8 kB / 1.394 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.9345, allocations: 3.938 kB / 1.394 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9345, allocations: 0 / 1.394 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.9355, allocations: 0.8092 MB / 1.395 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9356, allocations: 0 / 1.395 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.9358, allocations: 55.84 kB / 1.395 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.9358, allocations: 4 kB / 1.395 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.9358, allocations: 8 kB / 1.395 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9358, allocations: 0 / 1.395 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9358, allocations: 4 kB / 1.395 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.9365, allocations: 0.5077 MB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.9367, allocations: 144.6 kB / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.9367, allocations: 4.188 kB / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.937, allocations: 15.98 kB / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.9371, allocations: 23.91 kB / 1.396 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.9371, allocations: 8 kB / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002683/0.9374, allocations: 303.1 kB / 1.396 GB, free: 12.16 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9374, allocations: 0 / 1.396 GB, free: 12.16 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000398/0.9378, allocations: 123.8 kB / 1.396 GB, free: 12.04 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003948/0.9382, allocations: 188.5 kB / 1.396 GB, free: 11.85 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.9386, allocations: 211.8 kB / 1.397 GB, free: 11.64 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9386, allocations: 0 / 1.397 GB, free: 11.64 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.9388, allocations: 119.8 kB / 1.397 GB, free: 11.53 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.9399, allocations: 220.2 kB / 1.397 GB, free: 11.32 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.9414, allocations: 0.9396 MB / 1.398 GB, free: 10.33 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.9417, allocations: 0.8194 MB / 1.399 GB, free: 9.484 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.9418, allocations: 39.42 kB / 1.399 GB, free: 9.445 MB / 1.123 GB Notification: Performance of SimCode: time 2.4e-07/0.9418, allocations: 3.938 kB / 1.399 GB, free: 9.441 MB / 1.123 GB Notification: Performance of Templates: time 0.00879/0.9506, allocations: 6.635 MB / 1.405 GB, free: 2.883 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches