Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001681/0.001681, allocations: 117.6 kB / 16.42 MB, free: 6.012 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.001903/0.001903, allocations: 184.2 kB / 17.35 MB, free: 5.629 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 60.12 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.6708, allocations: 151.7 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1817/0.8525, allocations: 193.8 MB / 1.357 GB, free: 1.273 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009243/0.8618, allocations: 5.149 MB / 1.362 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.8632, allocations: 47.69 kB / 1.362 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.8652, allocations: 0.8315 MB / 1.363 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006133/0.8714, allocations: 2.692 MB / 1.365 GB, free: 8.527 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.874, allocations: 1.116 MB / 1.366 GB, free: 7.418 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.8772, allocations: 2.683 MB / 1.369 GB, free: 4.727 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.8786, allocations: 0.9346 MB / 1.37 GB, free: 3.777 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.8806, allocations: 1.152 MB / 1.371 GB, free: 2.621 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.882, allocations: 0.9924 MB / 1.372 GB, free: 1.625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.8822, allocations: 84 kB / 1.372 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.8855, allocations: 1.797 MB / 1.374 GB, free: 15.74 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.8861, allocations: 458.5 kB / 1.374 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.8869, allocations: 0.6604 MB / 1.375 GB, free: 14.63 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.8903, allocations: 2.212 MB / 1.377 GB, free: 12.41 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8903, allocations: 4 kB / 1.377 GB, free: 12.41 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8903, allocations: 0 / 1.377 GB, free: 12.41 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.701e-05/0.8904, allocations: 0 / 1.377 GB, free: 12.41 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005443/0.8958, allocations: 1.957 MB / 1.379 GB, free: 10.39 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.8959, allocations: 8.922 kB / 1.379 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/0.9016, allocations: 0.8916 MB / 1.38 GB, free: 9.492 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.9034, allocations: 0.9722 MB / 1.381 GB, free: 8.461 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.9035, allocations: 70 kB / 1.381 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.9037, allocations: 91.91 kB / 1.381 GB, free: 8.305 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.9075, allocations: 1.583 MB / 1.382 GB, free: 6.688 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.9076, allocations: 4 kB / 1.382 GB, free: 6.684 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.9077, allocations: 39.98 kB / 1.382 GB, free: 6.645 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.583e-05/0.9077, allocations: 53.92 kB / 1.382 GB, free: 6.594 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/0.9131, allocations: 1.85 MB / 1.384 GB, free: 4.742 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.007644/0.9208, allocations: 4.726 MB / 1.389 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.9253, allocations: 1.568 MB / 1.39 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.9278, allocations: 0.8546 MB / 1.391 GB, free: 13.35 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.9292, allocations: 0.9491 MB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002599/0.9318, allocations: 0.9105 MB / 1.393 GB, free: 11.29 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 4.097e-06/0.9318, allocations: 0 / 1.393 GB, free: 11.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.00784/0.9397, allocations: 2.454 MB / 1.395 GB, free: 8.828 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.9397, allocations: 68.39 kB / 1.396 GB, free: 8.75 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.9412, allocations: 1.201 MB / 1.397 GB, free: 7.539 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.9413, allocations: 45.7 kB / 1.397 GB, free: 7.488 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.9417, allocations: 0.5408 MB / 1.397 GB, free: 6.941 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.942, allocations: 323.4 kB / 1.398 GB, free: 6.621 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.9424, allocations: 182.6 kB / 1.398 GB, free: 6.434 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9425, allocations: 341.9 kB / 1.398 GB, free: 6.094 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.9448, allocations: 0.7045 MB / 1.399 GB, free: 5.391 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.9472, allocations: 0.9074 MB / 1.4 GB, free: 4.418 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004482/0.9517, allocations: 1.558 MB / 1.401 GB, free: 2.801 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.9517, allocations: 3.938 kB / 1.401 GB, free: 2.797 MB / 1.123 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005177/0.9569, allocations: 1.78 MB / 1.403 GB, free: 1.008 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.9569, allocations: 8 kB / 1.403 GB, free: 1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9569, allocations: 4 kB / 1.403 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.957, allocations: 8 kB / 1.403 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.9588, allocations: 347.7 kB / 1.403 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.9588, allocations: 8 kB / 1.403 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.9605, allocations: 242.6 kB / 1.404 GB, free: 412 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.9606, allocations: 47.97 kB / 1.404 GB, free: 364 kB / 1.123 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.0005319/0.9612, allocations: 343.6 kB / 1.404 GB, free: 12 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.9614, allocations: 130.6 kB / 1.404 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/0.9668, allocations: 1.799 MB / 1.406 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.9668, allocations: 3.984 kB / 1.406 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9668, allocations: 0 / 1.406 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.9674, allocations: 323.1 kB / 1.406 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.9676, allocations: 20 kB / 1.406 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.969, allocations: 151.8 kB / 1.406 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.9691, allocations: 60.86 kB / 1.406 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006259/0.9754, allocations: 1.86 MB / 1.408 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007539/0.9829, allocations: 2.82 MB / 1.411 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002284/0.9852, allocations: 0.7728 MB / 1.412 GB, free: 8.023 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009842/0.9862, allocations: 0.8314 MB / 1.412 GB, free: 7.188 MB / 1.139 GB Notification: Performance of Backend: time 2.4e-07/0.9862, allocations: 0 / 1.412 GB, free: 7.188 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005038/0.9913, allocations: 1.728 MB / 1.414 GB, free: 5.629 MB / 1.139 GB Notification: Performance of SimCode: time 0.004545/0.9958, allocations: 3.024 MB / 1.417 GB, free: 2.555 MB / 1.139 GB Notification: Performance of Templates: time 0.04348/1.039, allocations: 29.71 MB / 1.446 GB, free: 5.074 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches