Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 115.3 kB / 16.42 MB, free: 6.5 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: 183.9 kB / 17.34 MB, free: 5.758 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.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.6/2.6, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7756, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2152/0.9909, allocations: 193.8 MB / 1.416 GB, free: 10.96 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009175/1, allocations: 5.146 MB / 1.421 GB, free: 5.809 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/1.001, allocations: 51.69 kB / 1.421 GB, free: 5.758 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/1.003, allocations: 0.8197 MB / 1.422 GB, free: 4.934 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006741/1.01, allocations: 2.692 MB / 1.424 GB, free: 2.23 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/1.013, allocations: 1.106 MB / 1.425 GB, free: 1.129 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003504/1.017, allocations: 2.629 MB / 1.428 GB, free: 14.49 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/1.018, allocations: 0.8961 MB / 1.429 GB, free: 13.58 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/1.02, allocations: 1.117 MB / 1.43 GB, free: 12.46 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/1.022, allocations: 0.9572 MB / 1.431 GB, free: 11.5 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/1.022, allocations: 76 kB / 1.431 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/1.025, allocations: 1.793 MB / 1.433 GB, free: 9.629 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004821/1.026, allocations: 434.6 kB / 1.433 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000753/1.027, allocations: 0.6448 MB / 1.434 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003483/1.03, allocations: 2.156 MB / 1.436 GB, free: 6.391 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.03, allocations: 4 kB / 1.436 GB, free: 6.387 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.204e-06/1.03, allocations: 0 / 1.436 GB, free: 6.387 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.166e-05/1.03, allocations: 4 kB / 1.436 GB, free: 6.383 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005165/1.035, allocations: 1.971 MB / 1.438 GB, free: 4.352 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.035, allocations: 8.031 kB / 1.438 GB, free: 4.344 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/1.04, allocations: 0.6701 MB / 1.438 GB, free: 3.672 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/1.041, allocations: 0.9577 MB / 1.439 GB, free: 2.66 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/1.042, allocations: 66 kB / 1.439 GB, free: 2.594 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/1.042, allocations: 87.94 kB / 1.439 GB, free: 2.508 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/1.045, allocations: 1.478 MB / 1.441 GB, free: 0.957 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/1.045, allocations: 7.938 kB / 1.441 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.045, allocations: 32 kB / 1.441 GB, free: 0.918 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/1.045, allocations: 49.98 kB / 1.441 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004359/1.05, allocations: 1.526 MB / 1.442 GB, free: 15.34 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.007776/1.057, allocations: 5.48 MB / 1.448 GB, free: 9.578 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/1.061, allocations: 1.276 MB / 1.449 GB, free: 8.297 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/1.063, allocations: 0.6611 MB / 1.45 GB, free: 7.633 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009154/1.064, allocations: 0.5812 MB / 1.45 GB, free: 6.941 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002054/1.066, allocations: 0.719 MB / 1.451 GB, free: 6.211 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 3.526e-06/1.066, allocations: 0 / 1.451 GB, free: 6.211 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.006161/1.072, allocations: 1.883 MB / 1.453 GB, free: 4.32 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/1.073, allocations: 60.06 kB / 1.453 GB, free: 4.25 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.074, allocations: 1.235 MB / 1.454 GB, free: 3.008 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/1.074, allocations: 45.7 kB / 1.454 GB, free: 2.957 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/1.075, allocations: 0.5916 MB / 1.455 GB, free: 2.359 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/1.075, allocations: 289.6 kB / 1.455 GB, free: 2.074 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/1.075, allocations: 186.6 kB / 1.455 GB, free: 1.887 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.076, allocations: 341.9 kB / 1.455 GB, free: 1.547 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/1.077, allocations: 0.5367 MB / 1.456 GB, free: 1.008 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/1.079, allocations: 0.8135 MB / 1.457 GB, free: 88 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/1.083, allocations: 1.328 MB / 1.458 GB, free: 14.65 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.083, allocations: 0 / 1.458 GB, free: 14.65 MB / 1.186 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004259/1.087, allocations: 1.5 MB / 1.459 GB, free: 13.14 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.087, allocations: 15.94 kB / 1.459 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.087, allocations: 8 kB / 1.46 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/1.087, allocations: 15.94 kB / 1.46 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.089, allocations: 295.5 kB / 1.46 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/1.089, allocations: 15.94 kB / 1.46 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.09, allocations: 207 kB / 1.46 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.09, allocations: 51.97 kB / 1.46 GB, free: 12.55 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005634/1.091, allocations: 335.7 kB / 1.46 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/1.091, allocations: 147 kB / 1.461 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/1.095, allocations: 1.401 MB / 1.462 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.095, allocations: 3.984 kB / 1.462 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.095, allocations: 0 / 1.462 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/1.096, allocations: 300 kB / 1.462 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.096, allocations: 12 kB / 1.462 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.097, allocations: 111.9 kB / 1.462 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.097, allocations: 52.67 kB / 1.462 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004762/1.102, allocations: 1.426 MB / 1.464 GB, free: 8.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005889/1.108, allocations: 2.225 MB / 1.466 GB, free: 6.492 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001781/1.11, allocations: 0.5867 MB / 1.466 GB, free: 5.906 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001175/1.111, allocations: 0.8483 MB / 1.467 GB, free: 5.055 MB / 1.186 GB Notification: Performance of Backend: time 4.91e-07/1.111, allocations: 0 / 1.467 GB, free: 5.055 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005058/1.116, allocations: 1.577 MB / 1.469 GB, free: 3.648 MB / 1.186 GB Notification: Performance of SimCode: time 0.004759/1.121, allocations: 2.853 MB / 1.472 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of Templates: time 0.0469/1.168, allocations: 27.5 MB / 1.498 GB, free: 5.516 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches