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.001427/0.001427, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001493/0.001493, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.08 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.414/2.414, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.84 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.691, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1832/0.8742, allocations: 193.8 MB / 1.357 GB, free: 1.309 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008343/0.8826, allocations: 5.143 MB / 1.362 GB, free: 12.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.8838, allocations: 51.62 kB / 1.362 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.8856, allocations: 0.8276 MB / 1.363 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005759/0.8915, allocations: 2.689 MB / 1.365 GB, free: 8.57 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.894, allocations: 1.116 MB / 1.366 GB, free: 7.461 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.8968, allocations: 2.691 MB / 1.369 GB, free: 4.762 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.898, allocations: 0.9299 MB / 1.37 GB, free: 3.816 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.8996, allocations: 1.148 MB / 1.371 GB, free: 2.664 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.9007, allocations: 0.9962 MB / 1.372 GB, free: 1.664 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.9008, allocations: 88 kB / 1.372 GB, free: 1.578 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.9037, allocations: 1.804 MB / 1.374 GB, free: 15.77 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.9041, allocations: 446.6 kB / 1.374 GB, free: 15.33 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.9048, allocations: 0.6604 MB / 1.375 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.9074, allocations: 2.218 MB / 1.377 GB, free: 12.44 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.9074, allocations: 0 / 1.377 GB, free: 12.44 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9074, allocations: 4 kB / 1.377 GB, free: 12.44 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.9075, allocations: 0 / 1.377 GB, free: 12.44 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.004726/0.9122, allocations: 2.006 MB / 1.379 GB, free: 10.38 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9122, allocations: 12.92 kB / 1.379 GB, free: 10.36 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/0.9179, allocations: 0.9041 MB / 1.38 GB, free: 9.457 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.9194, allocations: 0.9812 MB / 1.381 GB, free: 8.418 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.9194, allocations: 66 kB / 1.381 GB, free: 8.355 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.9196, allocations: 91.95 kB / 1.381 GB, free: 8.266 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.9232, allocations: 1.579 MB / 1.382 GB, free: 6.652 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.9233, allocations: 7.938 kB / 1.382 GB, free: 6.645 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.9234, allocations: 36 kB / 1.382 GB, free: 6.609 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/0.9235, allocations: 53.91 kB / 1.383 GB, free: 6.559 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005317/0.9288, allocations: 1.846 MB / 1.384 GB, free: 4.711 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.006976/0.9358, allocations: 4.751 MB / 1.389 GB, free: 15.72 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004563/0.9403, allocations: 1.56 MB / 1.391 GB, free: 14.16 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.9428, allocations: 0.8663 MB / 1.391 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.944, allocations: 0.9374 MB / 1.392 GB, free: 12.17 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002548/0.9465, allocations: 0.9109 MB / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 3.496e-06/0.9466, allocations: 3.938 kB / 1.393 GB, free: 11.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.007984/0.9546, allocations: 2.467 MB / 1.396 GB, free: 8.766 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.9546, allocations: 64.39 kB / 1.396 GB, free: 8.691 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.9559, allocations: 1.193 MB / 1.397 GB, free: 7.488 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/0.956, allocations: 45.7 kB / 1.397 GB, free: 7.438 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.9564, allocations: 0.5453 MB / 1.397 GB, free: 6.887 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.9567, allocations: 345.1 kB / 1.398 GB, free: 6.547 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.957, allocations: 186.6 kB / 1.398 GB, free: 6.355 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9572, allocations: 349.9 kB / 1.398 GB, free: 6.008 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.9595, allocations: 0.6966 MB / 1.399 GB, free: 5.312 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.962, allocations: 0.9079 MB / 1.4 GB, free: 4.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004681/0.9667, allocations: 1.558 MB / 1.401 GB, free: 2.723 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.9667, allocations: 0 / 1.401 GB, free: 2.723 MB / 1.123 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005298/0.972, allocations: 1.788 MB / 1.403 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.9721, allocations: 8 kB / 1.403 GB, free: 0.918 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.9721, allocations: 7.938 kB / 1.403 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.9721, allocations: 8 kB / 1.403 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.974, allocations: 343.9 kB / 1.403 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.974, allocations: 8 kB / 1.403 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.9756, allocations: 239 kB / 1.404 GB, free: 332 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.9757, allocations: 47.97 kB / 1.404 GB, free: 284 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.0005205/0.9763, allocations: 347.7 kB / 1.404 GB, free: 15.93 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.9765, allocations: 143.1 kB / 1.404 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005465/0.982, allocations: 1.799 MB / 1.406 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.982, allocations: 3.984 kB / 1.406 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.982, allocations: 4 kB / 1.406 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.9825, allocations: 319.8 kB / 1.406 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.9827, allocations: 20 kB / 1.406 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.9841, allocations: 155.8 kB / 1.406 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.9843, allocations: 60.8 kB / 1.406 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006341/0.9906, allocations: 1.864 MB / 1.408 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007552/0.9982, allocations: 2.813 MB / 1.411 GB, free: 8.711 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002296/1.001, allocations: 0.7806 MB / 1.412 GB, free: 7.926 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009705/1.002, allocations: 0.8354 MB / 1.413 GB, free: 7.086 MB / 1.139 GB Notification: Performance of Backend: time 4.11e-07/1.002, allocations: 3.938 kB / 1.413 GB, free: 7.082 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005132/1.007, allocations: 1.721 MB / 1.414 GB, free: 5.523 MB / 1.139 GB Notification: Performance of SimCode: time 0.004708/1.011, allocations: 3.058 MB / 1.417 GB, free: 2.418 MB / 1.139 GB Notification: Performance of Templates: time 0.04502/1.056, allocations: 29.71 MB / 1.446 GB, free: 4.938 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