Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001302/0.001302, allocations: 110.3 kB / 16.41 MB, free: 6.508 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.001416/0.001416, allocations: 187 kB / 17.34 MB, free: 5.742 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001716, allocations: 60.09 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.169, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2656/1.434, allocations: 173.8 MB / 1.258 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004804/1.439, allocations: 2.299 MB / 1.261 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/1.44, allocations: 19.94 kB / 1.261 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009431/1.441, allocations: 230.4 kB / 1.261 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002847/1.444, allocations: 0.9762 MB / 1.262 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/1.447, allocations: 0.8315 MB / 1.263 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001675/1.448, allocations: 0.974 MB / 1.264 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/1.449, allocations: 327 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/1.45, allocations: 470.3 kB / 1.264 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/1.45, allocations: 314.6 kB / 1.265 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/1.45, allocations: 32 kB / 1.265 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/1.452, allocations: 0.9976 MB / 1.266 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/1.452, allocations: 143.6 kB / 1.266 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/1.453, allocations: 246.7 kB / 1.266 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/1.454, allocations: 0.9017 MB / 1.267 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.454, allocations: 8 kB / 1.267 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.856e-06/1.454, allocations: 0 / 1.267 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.454, allocations: 0 / 1.267 GB, free: 7.18 MB / 0.9981 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.001343/1.456, allocations: 0.7944 MB / 1.268 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.456, allocations: 12.03 kB / 1.268 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.457, allocations: 191 kB / 1.268 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/1.458, allocations: 389.4 kB / 1.268 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/1.458, allocations: 20.66 kB / 1.268 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/1.458, allocations: 36 kB / 1.268 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/1.458, allocations: 365.1 kB / 1.269 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/1.458, allocations: 4 kB / 1.269 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/1.459, allocations: 12 kB / 1.269 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/1.459, allocations: 15.94 kB / 1.269 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/1.459, allocations: 258 kB / 1.269 GB, free: 4.996 MB / 0.9981 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.001903/1.461, allocations: 1.675 MB / 1.271 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/1.461, allocations: 202.5 kB / 1.271 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/1.462, allocations: 112.8 kB / 1.271 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.463, allocations: 0.8738 MB / 1.272 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.463, allocations: 34.56 kB / 1.272 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/1.463, allocations: 8 kB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009542/1.464, allocations: 351.1 kB / 1.272 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/1.464, allocations: 55.41 kB / 1.272 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/1.464, allocations: 421.9 kB / 1.273 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/1.464, allocations: 33.7 kB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/1.464, allocations: 216.2 kB / 1.273 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/1.464, allocations: 86.73 kB / 1.273 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/1.465, allocations: 49.7 kB / 1.273 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.465, allocations: 350.7 kB / 1.273 GB, free: 180 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/1.465, allocations: 83.94 kB / 1.273 GB, free: 96 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/1.465, allocations: 123.4 kB / 1.273 GB, free: 15.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/1.465, allocations: 213.8 kB / 1.274 GB, free: 15.74 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.465, allocations: 3.938 kB / 1.274 GB, free: 15.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004985/1.466, allocations: 283.2 kB / 1.274 GB, free: 15.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.466, allocations: 14.66 kB / 1.274 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.466, allocations: 4 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.466, allocations: 0 / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/1.466, allocations: 47.97 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.466, allocations: 15.86 kB / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/1.467, allocations: 31.59 kB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/1.467, allocations: 11.98 kB / 1.274 GB, free: 15.34 MB / 1.014 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.0001734/1.467, allocations: 158.4 kB / 1.274 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/1.467, allocations: 43.53 kB / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/1.467, allocations: 291.6 kB / 1.274 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.467, allocations: 4 kB / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.467, allocations: 3.938 kB / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.467, allocations: 0 / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/1.469, allocations: 0.8112 MB / 1.275 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.469, allocations: 0 / 1.275 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/1.469, allocations: 47.91 kB / 1.275 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.469, allocations: 4 kB / 1.275 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/1.469, allocations: 8.188 kB / 1.275 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.469, allocations: 8 kB / 1.275 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.469, allocations: 0 / 1.275 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/1.47, allocations: 0.5037 MB / 1.276 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/1.47, allocations: 148.5 kB / 1.276 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/1.47, allocations: 0 / 1.276 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/1.47, allocations: 15.98 kB / 1.276 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/1.47, allocations: 24.17 kB / 1.276 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/1.47, allocations: 11.92 kB / 1.276 GB, free: 13.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003268/1.471, allocations: 299.1 kB / 1.276 GB, free: 12.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.471, allocations: 4 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004491/1.471, allocations: 115.8 kB / 1.276 GB, free: 12.71 MB / 1.014 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.000488/1.472, allocations: 201.4 kB / 1.277 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004649/1.472, allocations: 214 kB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.472, allocations: 0 / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/1.472, allocations: 116.1 kB / 1.277 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.473, allocations: 223.8 kB / 1.277 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/1.475, allocations: 0.9258 MB / 1.278 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/1.475, allocations: 0.8272 MB / 1.279 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.475, allocations: 35.44 kB / 1.279 GB, free: 10.11 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.475, allocations: 4 kB / 1.279 GB, free: 10.11 MB / 1.014 GB Notification: Performance of Templates: time 0.01052/1.486, allocations: 6.622 MB / 1.285 GB, free: 3.551 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches