Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001051/0.001051, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.594/2.594, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7057, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1785/0.8842, allocations: 193.8 MB / 1.416 GB, free: 10.94 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007799/0.892, allocations: 5.151 MB / 1.421 GB, free: 5.777 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.8928, allocations: 51.62 kB / 1.421 GB, free: 5.727 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.8944, allocations: 0.8276 MB / 1.422 GB, free: 4.895 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.8997, allocations: 2.692 MB / 1.424 GB, free: 2.191 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.902, allocations: 1.109 MB / 1.425 GB, free: 1.09 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.9046, allocations: 2.699 MB / 1.428 GB, free: 14.38 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.9057, allocations: 0.9454 MB / 1.429 GB, free: 13.42 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.9072, allocations: 1.137 MB / 1.43 GB, free: 12.28 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.9083, allocations: 0.9963 MB / 1.431 GB, free: 11.28 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.9084, allocations: 88 kB / 1.431 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.9114, allocations: 1.804 MB / 1.433 GB, free: 9.387 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.9118, allocations: 446.6 kB / 1.433 GB, free: 8.949 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.9123, allocations: 0.6643 MB / 1.434 GB, free: 8.281 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.9149, allocations: 2.218 MB / 1.436 GB, free: 6.055 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.9149, allocations: 0 / 1.436 GB, free: 6.055 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9149, allocations: 0 / 1.436 GB, free: 6.055 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.915, allocations: 0 / 1.436 GB, free: 6.055 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004493/0.9195, allocations: 2.009 MB / 1.438 GB, free: 3.988 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.9195, allocations: 11.97 kB / 1.438 GB, free: 3.977 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005446/0.925, allocations: 0.8964 MB / 1.439 GB, free: 3.078 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.9265, allocations: 0.985 MB / 1.44 GB, free: 2.035 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.9265, allocations: 73.92 kB / 1.44 GB, free: 1.965 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.9267, allocations: 88 kB / 1.44 GB, free: 1.879 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/0.9301, allocations: 1.579 MB / 1.441 GB, free: 272 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.9302, allocations: 3.938 kB / 1.441 GB, free: 268 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9303, allocations: 36 kB / 1.442 GB, free: 232 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/0.9303, allocations: 49.98 kB / 1.442 GB, free: 184 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004954/0.9353, allocations: 1.85 MB / 1.443 GB, free: 14.33 MB / 1.17 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.006765/0.9421, allocations: 4.735 MB / 1.448 GB, free: 9.363 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/0.9463, allocations: 1.567 MB / 1.45 GB, free: 7.785 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.9485, allocations: 0.8546 MB / 1.45 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.9497, allocations: 0.9491 MB / 1.451 GB, free: 5.797 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002369/0.9521, allocations: 0.9187 MB / 1.452 GB, free: 4.859 MB / 1.17 GB Notification: Performance of pre-optimization done (n=95): time 2.926e-06/0.9521, allocations: 0 / 1.452 GB, free: 4.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=95): time 0.007391/0.9595, allocations: 2.459 MB / 1.455 GB, free: 2.398 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.9596, allocations: 64.41 kB / 1.455 GB, free: 2.324 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.9608, allocations: 1.193 MB / 1.456 GB, free: 1.121 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.139e-05/0.9609, allocations: 53.69 kB / 1.456 GB, free: 1.062 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.9613, allocations: 0.5376 MB / 1.456 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.9616, allocations: 349.1 kB / 1.457 GB, free: 180 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.9619, allocations: 186.6 kB / 1.457 GB, free: 15.98 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9621, allocations: 341.9 kB / 1.457 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.9641, allocations: 0.7044 MB / 1.458 GB, free: 14.94 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.9664, allocations: 0.9073 MB / 1.459 GB, free: 13.97 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.9705, allocations: 1.558 MB / 1.46 GB, free: 12.35 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.9705, allocations: 4 kB / 1.46 GB, free: 12.35 MB / 1.186 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004743/0.9753, allocations: 1.792 MB / 1.462 GB, free: 10.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.9753, allocations: 8 kB / 1.462 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.9753, allocations: 8 kB / 1.462 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.9754, allocations: 8 kB / 1.462 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.9772, allocations: 339.5 kB / 1.462 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.9772, allocations: 11.98 kB / 1.462 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.9787, allocations: 243 kB / 1.463 GB, free: 9.941 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.9788, allocations: 43.98 kB / 1.463 GB, free: 9.898 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0004664/0.9793, allocations: 335.7 kB / 1.463 GB, free: 9.559 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.9795, allocations: 143.1 kB / 1.463 GB, free: 9.418 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/0.9845, allocations: 1.803 MB / 1.465 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.9845, allocations: 7.984 kB / 1.465 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9845, allocations: 3.938 kB / 1.465 GB, free: 7.594 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/0.9852, allocations: 323.8 kB / 1.465 GB, free: 7.258 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.9855, allocations: 27.98 kB / 1.465 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/0.9876, allocations: 147.8 kB / 1.465 GB, free: 7.086 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.9878, allocations: 56.86 kB / 1.465 GB, free: 7.031 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009251/0.997, allocations: 1.856 MB / 1.467 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01141/1.008, allocations: 2.824 MB / 1.47 GB, free: 2.328 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003371/1.012, allocations: 0.7728 MB / 1.471 GB, free: 1.551 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001584/1.013, allocations: 0.8392 MB / 1.472 GB, free: 0.707 MB / 1.186 GB Notification: Performance of Backend: time 5.21e-07/1.013, allocations: 0 / 1.472 GB, free: 0.707 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007518/1.021, allocations: 1.723 MB / 1.473 GB, free: 15.14 MB / 1.201 GB Notification: Performance of SimCode: time 0.006864/1.028, allocations: 3.059 MB / 1.476 GB, free: 12.04 MB / 1.201 GB Notification: Performance of Templates: time 0.04895/1.077, allocations: 29.71 MB / 1.505 GB, free: 14.58 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches