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.001686/0.001686, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001821/0.001821, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6832/0.6844, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1853/0.8698, allocations: 173.8 MB / 1.258 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003783/0.8736, allocations: 2.302 MB / 1.261 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.8741, allocations: 11.94 kB / 1.261 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.8749, allocations: 238.4 kB / 1.261 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.8773, allocations: 0.9684 MB / 1.262 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.8792, allocations: 0.8292 MB / 1.263 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.8805, allocations: 0.974 MB / 1.264 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/0.881, allocations: 331 kB / 1.264 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.8819, allocations: 462.2 kB / 1.264 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.8824, allocations: 314.7 kB / 1.265 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.157e-05/0.8825, allocations: 36 kB / 1.265 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.8842, allocations: 0.9976 MB / 1.266 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.8844, allocations: 151.5 kB / 1.266 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.8846, allocations: 238.8 kB / 1.266 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.886, allocations: 0.8978 MB / 1.267 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.886, allocations: 0 / 1.267 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8861, allocations: 0 / 1.267 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.8861, allocations: 0 / 1.267 GB, free: 7.137 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.001318/0.8874, allocations: 0.8061 MB / 1.268 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8874, allocations: 11.97 kB / 1.268 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.8887, allocations: 179.1 kB / 1.268 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/0.8894, allocations: 393.4 kB / 1.268 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.8894, allocations: 20.66 kB / 1.268 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.8895, allocations: 32 kB / 1.268 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.8901, allocations: 377.1 kB / 1.269 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.8902, allocations: 0 / 1.269 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.8902, allocations: 12 kB / 1.269 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.8902, allocations: 15.94 kB / 1.269 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.8908, allocations: 266 kB / 1.269 GB, free: 4.938 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.001838/0.8926, allocations: 1.675 MB / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.893, allocations: 202.5 kB / 1.271 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.8932, allocations: 116.8 kB / 1.271 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009553/0.8942, allocations: 0.866 MB / 1.272 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.8942, allocations: 38.56 kB / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.8942, allocations: 0 / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0008936/0.8951, allocations: 362.3 kB / 1.272 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.8952, allocations: 51.41 kB / 1.272 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.8956, allocations: 421.9 kB / 1.273 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.8957, allocations: 33.64 kB / 1.273 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.8958, allocations: 212.2 kB / 1.273 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.8959, allocations: 86.75 kB / 1.273 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.896, allocations: 45.7 kB / 1.273 GB, free: 488 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8961, allocations: 354.7 kB / 1.273 GB, free: 124 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.8963, allocations: 83.94 kB / 1.273 GB, free: 40 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.8965, allocations: 123.5 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.8969, allocations: 217.7 kB / 1.274 GB, free: 15.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8969, allocations: 0 / 1.274 GB, free: 15.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005212/0.8975, allocations: 277 kB / 1.274 GB, free: 15.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8975, allocations: 8 kB / 1.274 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8975, allocations: 0 / 1.274 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8975, allocations: 7.938 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.8978, allocations: 43.97 kB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8978, allocations: 4 kB / 1.274 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.898, allocations: 43.55 kB / 1.274 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.898, allocations: 12 kB / 1.274 GB, free: 15.29 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.0001593/0.8982, allocations: 162.3 kB / 1.274 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.8983, allocations: 39.53 kB / 1.274 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005667/0.8989, allocations: 292.4 kB / 1.274 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.8989, allocations: 0 / 1.274 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.8989, allocations: 0 / 1.274 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.8991, allocations: 160.5 kB / 1.275 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.8991, allocations: 8 kB / 1.275 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.8994, allocations: 11.98 kB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.8994, allocations: 19.97 kB / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006509/0.9001, allocations: 324.7 kB / 1.275 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007719/0.9009, allocations: 0.5539 MB / 1.276 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002237/0.9011, allocations: 106.2 kB / 1.276 GB, free: 13.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000299/0.9014, allocations: 299.1 kB / 1.276 GB, free: 13.29 MB / 1.014 GB Notification: Performance of Backend: time 2.3e-07/0.9014, allocations: 0 / 1.276 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.9027, allocations: 443.4 kB / 1.276 GB, free: 12.86 MB / 1.014 GB Notification: Performance of SimCode: time 0.001952/0.9047, allocations: 1.429 MB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of Templates: time 0.01658/0.9213, allocations: 10.26 MB / 1.288 GB, free: 1.238 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