Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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_9_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_9_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.001572/0.001572, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001702/0.001702, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6853/0.6867, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2048/0.8915, allocations: 193.8 MB / 1.278 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008696/0.9003, allocations: 5.154 MB / 1.283 GB, free: 6.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.9017, allocations: 47.69 kB / 1.283 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.9037, allocations: 0.8236 MB / 1.284 GB, free: 5.754 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.9095, allocations: 2.7 MB / 1.286 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.912, allocations: 1.107 MB / 1.288 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.9152, allocations: 2.621 MB / 1.29 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.9166, allocations: 0.898 MB / 1.291 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.9185, allocations: 1.113 MB / 1.292 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.9198, allocations: 0.9495 MB / 1.293 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.9201, allocations: 80 kB / 1.293 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.9231, allocations: 1.8 MB / 1.295 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.9236, allocations: 430.6 kB / 1.295 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007239/0.9243, allocations: 0.6448 MB / 1.296 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.9272, allocations: 2.15 MB / 1.298 GB, free: 7.227 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.9272, allocations: 0 / 1.298 GB, free: 7.227 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9273, allocations: 0 / 1.298 GB, free: 7.227 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.736e-05/0.9273, allocations: 4 kB / 1.298 GB, free: 7.223 MB / 1.029 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.004953/0.9323, allocations: 1.926 MB / 1.3 GB, free: 5.242 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.9323, allocations: 8.031 kB / 1.3 GB, free: 5.234 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/0.9363, allocations: 0.6615 MB / 1.3 GB, free: 4.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.9379, allocations: 0.9526 MB / 1.301 GB, free: 3.559 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.938, allocations: 62 kB / 1.301 GB, free: 3.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.9381, allocations: 91.98 kB / 1.302 GB, free: 3.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.9412, allocations: 1.466 MB / 1.303 GB, free: 1.867 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.9413, allocations: 7.938 kB / 1.303 GB, free: 1.859 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.9414, allocations: 32 kB / 1.303 GB, free: 1.828 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.9414, allocations: 57.97 kB / 1.303 GB, free: 1.773 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/0.9455, allocations: 1.514 MB / 1.305 GB, free: 260 kB / 1.029 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.007011/0.9526, allocations: 5.475 MB / 1.31 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.9564, allocations: 1.272 MB / 1.311 GB, free: 9.211 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.9581, allocations: 0.6608 MB / 1.312 GB, free: 8.551 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008377/0.959, allocations: 0.5819 MB / 1.312 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.9608, allocations: 0.7067 MB / 1.313 GB, free: 7.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=80): time 3.186e-06/0.9609, allocations: 0 / 1.313 GB, free: 7.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=80): time 0.005681/0.9665, allocations: 1.878 MB / 1.315 GB, free: 5.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.9666, allocations: 68 kB / 1.315 GB, free: 5.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.9681, allocations: 1.242 MB / 1.316 GB, free: 3.922 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/0.9682, allocations: 45.7 kB / 1.316 GB, free: 3.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.9686, allocations: 0.5752 MB / 1.317 GB, free: 3.289 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.9689, allocations: 284.1 kB / 1.317 GB, free: 3.008 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.9692, allocations: 178.5 kB / 1.317 GB, free: 2.824 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9693, allocations: 345.9 kB / 1.318 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.971, allocations: 0.5405 MB / 1.318 GB, free: 1.941 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.9728, allocations: 0.8174 MB / 1.319 GB, free: 1.016 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.9763, allocations: 1.328 MB / 1.32 GB, free: 15.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9763, allocations: 0 / 1.32 GB, free: 15.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003998/0.9803, allocations: 1.494 MB / 1.322 GB, free: 14.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.9803, allocations: 11.94 kB / 1.322 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.9803, allocations: 8 kB / 1.322 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.9804, allocations: 12.81 kB / 1.322 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.9818, allocations: 291.6 kB / 1.322 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.9819, allocations: 19.92 kB / 1.322 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.9832, allocations: 194.8 kB / 1.322 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.9834, allocations: 43.98 kB / 1.322 GB, free: 13.51 MB / 1.061 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.0005117/0.9839, allocations: 343.6 kB / 1.323 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.9841, allocations: 138.2 kB / 1.323 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.9882, allocations: 1.416 MB / 1.324 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.9882, allocations: 3.984 kB / 1.324 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9882, allocations: 0 / 1.324 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.9887, allocations: 283.3 kB / 1.324 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.9889, allocations: 16 kB / 1.324 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.99, allocations: 111.9 kB / 1.324 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.9901, allocations: 48.53 kB / 1.324 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004583/0.9947, allocations: 1.426 MB / 1.326 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00563/1, allocations: 2.213 MB / 1.328 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001696/1.002, allocations: 0.5906 MB / 1.329 GB, free: 6.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009966/1.003, allocations: 0.8522 MB / 1.329 GB, free: 6.02 MB / 1.061 GB Notification: Performance of Backend: time 3.01e-07/1.003, allocations: 0 / 1.329 GB, free: 6.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004405/1.007, allocations: 1.558 MB / 1.331 GB, free: 4.629 MB / 1.061 GB Notification: Performance of SimCode: time 0.004307/1.012, allocations: 2.838 MB / 1.334 GB, free: 1.75 MB / 1.061 GB Notification: Performance of Templates: time 0.04232/1.054, allocations: 27.49 MB / 1.361 GB, free: 6.543 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches