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.01062/0.01062, allocations: 108.9 kB / 15.74 MB, free: 6.449 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.001913/0.001913, allocations: 197 kB / 16.67 MB, free: 6.355 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.8 MB / 0.7347 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.11 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3369, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 1.04/1.377, allocations: 173.8 MB / 1.377 GB, free: 12.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004298/1.382, allocations: 2.293 MB / 1.38 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/1.382, allocations: 14.09 kB / 1.38 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008454/1.383, allocations: 231.7 kB / 1.38 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/1.386, allocations: 0.9279 MB / 1.381 GB, free: 9.844 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/1.389, allocations: 0.8322 MB / 1.382 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001784/1.391, allocations: 0.9633 MB / 1.383 GB, free: 8.684 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006016/1.391, allocations: 329.3 kB / 1.383 GB, free: 8.484 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008896/1.392, allocations: 461.5 kB / 1.383 GB, free: 8.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004363/1.393, allocations: 316.5 kB / 1.384 GB, free: 8.043 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/1.393, allocations: 32.72 kB / 1.384 GB, free: 8.043 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/1.395, allocations: 0.9925 MB / 1.385 GB, free: 7.484 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/1.395, allocations: 148.1 kB / 1.385 GB, free: 7.383 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/1.395, allocations: 236.1 kB / 1.385 GB, free: 7.238 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/1.397, allocations: 0.9014 MB / 1.386 GB, free: 6.695 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.397, allocations: 1.594 kB / 1.386 GB, free: 6.695 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.003e-06/1.397, allocations: 4 kB / 1.386 GB, free: 6.691 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.749e-06/1.397, allocations: 0 / 1.386 GB, free: 6.691 MB / 1.076 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.001406/1.398, allocations: 0.8017 MB / 1.387 GB, free: 6.012 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.398, allocations: 9.688 kB / 1.387 GB, free: 6.012 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/1.4, allocations: 187.2 kB / 1.387 GB, free: 5.918 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/1.4, allocations: 386.4 kB / 1.387 GB, free: 5.574 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/1.4, allocations: 21.38 kB / 1.387 GB, free: 5.566 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/1.4, allocations: 37.19 kB / 1.387 GB, free: 5.551 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/1.401, allocations: 367.1 kB / 1.388 GB, free: 5.301 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.401, allocations: 5.125 kB / 1.388 GB, free: 5.297 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/1.401, allocations: 10.94 kB / 1.388 GB, free: 5.289 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/1.401, allocations: 10.38 kB / 1.388 GB, free: 5.289 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/1.402, allocations: 263.1 kB / 1.388 GB, free: 5.168 MB / 1.076 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.00197/1.404, allocations: 1.674 MB / 1.39 GB, free: 3.621 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/1.404, allocations: 209.1 kB / 1.39 GB, free: 3.512 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/1.404, allocations: 113 kB / 1.39 GB, free: 3.457 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/1.405, allocations: 0.8688 MB / 1.391 GB, free: 2.477 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.406, allocations: 36.81 kB / 1.391 GB, free: 2.434 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.874e-06/1.406, allocations: 4 kB / 1.391 GB, free: 2.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0009511/1.406, allocations: 363.1 kB / 1.391 GB, free: 2.246 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.407, allocations: 58.59 kB / 1.391 GB, free: 2.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/1.407, allocations: 415.5 kB / 1.392 GB, free: 1.934 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/1.407, allocations: 31.8 kB / 1.392 GB, free: 1.898 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.407, allocations: 217.1 kB / 1.392 GB, free: 1.699 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/1.407, allocations: 88.94 kB / 1.392 GB, free: 1.621 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.407, allocations: 45.98 kB / 1.392 GB, free: 1.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.408, allocations: 356.3 kB / 1.392 GB, free: 1.242 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/1.408, allocations: 77.66 kB / 1.392 GB, free: 1.207 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/1.408, allocations: 120.3 kB / 1.392 GB, free: 1.133 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/1.409, allocations: 209.8 kB / 1.393 GB, free: 1.012 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.409, allocations: 1.156 kB / 1.393 GB, free: 1.012 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006159/1.409, allocations: 289.4 kB / 1.393 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.409, allocations: 5.125 kB / 1.393 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.409, allocations: 5.438 kB / 1.393 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/1.409, allocations: 2.188 kB / 1.393 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/1.41, allocations: 48.03 kB / 1.393 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.41, allocations: 6.125 kB / 1.393 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/1.41, allocations: 34.59 kB / 1.393 GB, free: 0.8164 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/1.41, allocations: 11.38 kB / 1.393 GB, free: 0.8125 MB / 1.076 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.0001879/1.41, allocations: 156.5 kB / 1.393 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/1.41, allocations: 44.5 kB / 1.393 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/1.411, allocations: 290.5 kB / 1.393 GB, free: 488 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.411, allocations: 2.328 kB / 1.393 GB, free: 488 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.411, allocations: 5.062 kB / 1.393 GB, free: 484 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.411, allocations: 3.938 kB / 1.393 GB, free: 480 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/1.412, allocations: 0.8107 MB / 1.394 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/1.412, allocations: 6.344 kB / 1.394 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/1.413, allocations: 46.91 kB / 1.394 GB, free: 15.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/1.413, allocations: 2.719 kB / 1.394 GB, free: 15.8 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.413, allocations: 8.375 kB / 1.394 GB, free: 15.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.413, allocations: 6.25 kB / 1.394 GB, free: 15.79 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.413, allocations: 2.844 kB / 1.394 GB, free: 15.79 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/1.413, allocations: 0.5065 MB / 1.395 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/1.414, allocations: 144.9 kB / 1.395 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/1.414, allocations: 7.875 kB / 1.395 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/1.414, allocations: 12.02 kB / 1.395 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/1.414, allocations: 21.3 kB / 1.395 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/1.414, allocations: 10.5 kB / 1.395 GB, free: 15.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003429/1.414, allocations: 299.8 kB / 1.395 GB, free: 15.09 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.91e-07/1.414, allocations: 0 / 1.395 GB, free: 15.09 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005944/1.415, allocations: 121.8 kB / 1.395 GB, free: 15.06 MB / 1.092 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.000475/1.415, allocations: 203 kB / 1.396 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005297/1.416, allocations: 209.7 kB / 1.396 GB, free: 14.84 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.416, allocations: 1.375 kB / 1.396 GB, free: 14.84 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/1.416, allocations: 116.5 kB / 1.396 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.417, allocations: 221.3 kB / 1.396 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/1.419, allocations: 0.9023 MB / 1.397 GB, free: 14.05 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.42, allocations: 0.8185 MB / 1.398 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003233/1.42, allocations: 85.59 kB / 1.398 GB, free: 13.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.79e-05/1.42, allocations: 36.25 kB / 1.398 GB, free: 13.24 MB / 1.092 GB Notification: Performance of SimCode: time 8.32e-07/1.42, allocations: 4.875 kB / 1.398 GB, free: 13.24 MB / 1.092 GB Notification: Performance of Templates: time 0.01571/1.436, allocations: 8.214 MB / 1.406 GB, free: 9.176 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches