Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 96.2 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 210.8 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|heaCooUnl.TSet|TSteStaIn.T|TSteStaOut.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.",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|heaCooUnl.TSet|TSteStaIn.T|TSteStaOut.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.",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 66.61 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 176.1 MB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2534/0.566, allocations: 214.7 MB / 1.537 GB, free: 9.418 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.5798, allocations: 8.06 MB / 1.545 GB, free: 1.344 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.581, allocations: 91.19 kB / 1.545 GB, free: 1.254 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.5833, allocations: 1.048 MB / 1.546 GB, free: 204 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00729/0.5906, allocations: 3.22 MB / 1.549 GB, free: 12.96 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.007866/0.5984, allocations: 3.519 MB / 1.552 GB, free: 9.441 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005079/0.6035, allocations: 4.058 MB / 1.556 GB, free: 5.367 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.6052, allocations: 1.141 MB / 1.557 GB, free: 4.191 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/0.6095, allocations: 2.344 MB / 1.56 GB, free: 1.84 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.6114, allocations: 1.49 MB / 1.561 GB, free: 352 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.6116, allocations: 136 kB / 1.561 GB, free: 216 kB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005866/0.6175, allocations: 3.218 MB / 1.564 GB, free: 12.98 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006431/0.6182, allocations: 0.6345 MB / 1.565 GB, free: 12.35 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009396/0.6191, allocations: 0.8358 MB / 1.566 GB, free: 11.51 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005734/0.6248, allocations: 3.78 MB / 1.57 GB, free: 7.715 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6248, allocations: 0 / 1.57 GB, free: 7.715 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6248, allocations: 4 kB / 1.57 GB, free: 7.711 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.733e-05/0.6249, allocations: 0 / 1.57 GB, free: 7.711 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006551/0.6314, allocations: 2.678 MB / 1.572 GB, free: 4.98 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6315, allocations: 8.031 kB / 1.572 GB, free: 4.973 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009344/0.6408, allocations: 1.341 MB / 1.573 GB, free: 3.629 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.6433, allocations: 1.17 MB / 1.575 GB, free: 2.418 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.6434, allocations: 102.6 kB / 1.575 GB, free: 2.316 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.6437, allocations: 136 kB / 1.575 GB, free: 2.184 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/0.6485, allocations: 2.071 MB / 1.577 GB, free: 12 kB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.6485, allocations: 7.875 kB / 1.577 GB, free: 4 kB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.6487, allocations: 59.97 kB / 1.577 GB, free: 15.95 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.699e-05/0.6488, allocations: 70.47 kB / 1.577 GB, free: 15.88 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006012/0.6548, allocations: 2.18 MB / 1.579 GB, free: 13.69 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.6657, allocations: 6.23 MB / 1.585 GB, free: 7.293 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005047/0.6707, allocations: 1.812 MB / 1.587 GB, free: 5.465 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.6732, allocations: 0.9334 MB / 1.588 GB, free: 4.527 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.6743, allocations: 204.8 kB / 1.588 GB, free: 4.328 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002837/0.6771, allocations: 1.063 MB / 1.589 GB, free: 3.254 MB / 1.279 GB Notification: Performance of pre-optimization done (n=119): time 3.947e-06/0.6771, allocations: 384 / 1.589 GB, free: 3.254 MB / 1.279 GB Notification: Performance of matching and sorting (n=119): time 0.008732/0.6858, allocations: 2.892 MB / 1.592 GB, free: 360 kB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6859, allocations: 64.41 kB / 1.592 GB, free: 284 kB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.6877, allocations: 1.376 MB / 1.593 GB, free: 14.88 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6878, allocations: 49.7 kB / 1.593 GB, free: 14.83 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.6885, allocations: 0.8349 MB / 1.594 GB, free: 13.99 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.6889, allocations: 436.3 kB / 1.595 GB, free: 13.56 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004732/0.6894, allocations: 242.8 kB / 1.595 GB, free: 13.32 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6895, allocations: 353.9 kB / 1.595 GB, free: 12.96 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.692, allocations: 0.8261 MB / 1.596 GB, free: 12.14 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.6949, allocations: 1.372 MB / 1.597 GB, free: 10.59 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/0.7, allocations: 1.95 MB / 1.599 GB, free: 8.535 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7, allocations: 0 / 1.599 GB, free: 8.535 MB / 1.295 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005915/0.7059, allocations: 2.175 MB / 1.601 GB, free: 6.355 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.706, allocations: 8 kB / 1.601 GB, free: 6.348 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.706, allocations: 12.06 kB / 1.601 GB, free: 6.336 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.706, allocations: 12 kB / 1.601 GB, free: 6.324 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/0.7083, allocations: 411.4 kB / 1.602 GB, free: 5.922 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/0.7084, allocations: 23.92 kB / 1.602 GB, free: 5.898 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.7102, allocations: 259 kB / 1.602 GB, free: 5.645 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.7103, allocations: 59.97 kB / 1.602 GB, free: 5.586 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0006772/0.711, allocations: 399.4 kB / 1.603 GB, free: 5.188 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.7113, allocations: 170.9 kB / 1.603 GB, free: 5.02 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/0.7175, allocations: 2.197 MB / 1.605 GB, free: 2.805 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.7175, allocations: 15.91 kB / 1.605 GB, free: 2.789 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.7175, allocations: 0 / 1.605 GB, free: 2.789 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.7182, allocations: 306.4 kB / 1.605 GB, free: 2.488 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.7185, allocations: 28 kB / 1.605 GB, free: 2.461 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.7201, allocations: 159.8 kB / 1.605 GB, free: 2.305 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.7202, allocations: 80.8 kB / 1.605 GB, free: 2.227 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007105/0.7273, allocations: 2.18 MB / 1.608 GB, free: 40 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.625/1.352, allocations: 3.357 MB / 1.611 GB, free: 279.6 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002359/1.355, allocations: 0.8847 MB / 1.612 GB, free: 279.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001316/1.356, allocations: 0.9323 MB / 1.613 GB, free: 279.1 MB / 1.295 GB Notification: Performance of Backend: time 4.91e-07/1.356, allocations: 0 / 1.613 GB, free: 279.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007079/1.363, allocations: 2.321 MB / 1.615 GB, free: 278.8 MB / 1.295 GB Notification: Performance of SimCode: time 0.005186/1.368, allocations: 3.742 MB / 1.619 GB, free: 276.8 MB / 1.295 GB Notification: Performance of Templates: time 0.05703/1.425, allocations: 45.28 MB / 1.663 GB, free: 249.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.043149735996849]