Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001364/0.001364, allocations: 106.6 kB / 16.41 MB, free: 6.457 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.001266/0.001266, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.15 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.406/2.406, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8498/0.8512, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2051/1.056, allocations: 193.8 MB / 1.357 GB, free: 1.273 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009163/1.066, allocations: 5.144 MB / 1.362 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/1.067, allocations: 47.69 kB / 1.362 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002042/1.069, allocations: 0.8275 MB / 1.362 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006919/1.076, allocations: 2.692 MB / 1.365 GB, free: 8.531 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/1.079, allocations: 1.113 MB / 1.366 GB, free: 7.426 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003635/1.083, allocations: 2.617 MB / 1.369 GB, free: 4.801 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/1.085, allocations: 0.8863 MB / 1.37 GB, free: 3.902 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/1.087, allocations: 1.121 MB / 1.371 GB, free: 2.777 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/1.089, allocations: 0.9572 MB / 1.372 GB, free: 1.816 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003804/1.09, allocations: 80 kB / 1.372 GB, free: 1.738 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/1.094, allocations: 1.789 MB / 1.373 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005622/1.094, allocations: 434.6 kB / 1.374 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000893/1.095, allocations: 0.641 MB / 1.375 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/1.099, allocations: 2.153 MB / 1.377 GB, free: 12.71 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.099, allocations: 0 / 1.377 GB, free: 12.71 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.784e-06/1.099, allocations: 0 / 1.377 GB, free: 12.71 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.461e-05/1.099, allocations: 0 / 1.377 GB, free: 12.71 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004949/1.104, allocations: 1.93 MB / 1.379 GB, free: 10.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.104, allocations: 8.922 kB / 1.379 GB, free: 10.72 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003881/1.108, allocations: 0.6576 MB / 1.379 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/1.11, allocations: 0.9527 MB / 1.38 GB, free: 9.051 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/1.11, allocations: 62 kB / 1.38 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/1.11, allocations: 99.97 kB / 1.38 GB, free: 8.891 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/1.113, allocations: 1.466 MB / 1.382 GB, free: 7.352 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.113, allocations: 7.938 kB / 1.382 GB, free: 7.344 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.113, allocations: 36 kB / 1.382 GB, free: 7.309 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/1.113, allocations: 45.98 kB / 1.382 GB, free: 7.262 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/1.117, allocations: 1.522 MB / 1.383 GB, free: 5.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.007698/1.125, allocations: 5.479 MB / 1.389 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/1.128, allocations: 1.282 MB / 1.39 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/1.13, allocations: 0.6598 MB / 1.39 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/1.131, allocations: 0.5851 MB / 1.391 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001915/1.133, allocations: 0.7074 MB / 1.392 GB, free: 12.61 MB / 1.123 GB Notification: Performance of pre-optimization done (n=80): time 4.258e-06/1.133, allocations: 4 kB / 1.392 GB, free: 12.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=80): time 0.005775/1.139, allocations: 1.878 MB / 1.394 GB, free: 10.71 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/1.139, allocations: 60.06 kB / 1.394 GB, free: 10.64 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.141, allocations: 1.239 MB / 1.395 GB, free: 9.398 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/1.141, allocations: 45.64 kB / 1.395 GB, free: 9.348 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/1.141, allocations: 0.5791 MB / 1.395 GB, free: 8.762 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/1.142, allocations: 280.1 kB / 1.396 GB, free: 8.484 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/1.142, allocations: 186.5 kB / 1.396 GB, free: 8.297 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.142, allocations: 345.9 kB / 1.396 GB, free: 7.953 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/1.144, allocations: 0.5366 MB / 1.397 GB, free: 7.414 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/1.146, allocations: 0.8213 MB / 1.398 GB, free: 6.484 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/1.149, allocations: 1.321 MB / 1.399 GB, free: 5.062 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.149, allocations: 4 kB / 1.399 GB, free: 5.059 MB / 1.123 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003897/1.153, allocations: 1.498 MB / 1.4 GB, free: 3.551 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.153, allocations: 11.22 kB / 1.4 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.153, allocations: 8 kB / 1.4 GB, free: 3.535 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.525e-05/1.153, allocations: 16 kB / 1.4 GB, free: 3.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.155, allocations: 287.6 kB / 1.401 GB, free: 3.238 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/1.155, allocations: 19.92 kB / 1.401 GB, free: 3.219 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.156, allocations: 190.8 kB / 1.401 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.156, allocations: 47.98 kB / 1.401 GB, free: 2.984 MB / 1.123 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.0006398/1.157, allocations: 347.5 kB / 1.401 GB, free: 2.637 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/1.157, allocations: 138.3 kB / 1.401 GB, free: 2.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/1.161, allocations: 1.416 MB / 1.403 GB, free: 1.074 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.161, allocations: 8 kB / 1.403 GB, free: 1.066 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.161, allocations: 0 / 1.403 GB, free: 1.066 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.161, allocations: 3.984 kB / 1.403 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005866/1.167, allocations: 2.791 MB / 1.405 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.167, allocations: 8 kB / 1.405 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.168, allocations: 227.8 kB / 1.406 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/1.168, allocations: 8 kB / 1.406 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/1.169, allocations: 31.97 kB / 1.406 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/1.169, allocations: 8 kB / 1.406 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.169, allocations: 8 kB / 1.406 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00535/1.174, allocations: 2.24 MB / 1.408 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/1.175, allocations: 299.2 kB / 1.408 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.175, allocations: 24 kB / 1.408 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.176, allocations: 111.8 kB / 1.408 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.176, allocations: 68.38 kB / 1.408 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.269e-05/1.176, allocations: 35.97 kB / 1.408 GB, free: 11.04 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001195/1.177, allocations: 0.8483 MB / 1.409 GB, free: 10.18 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.177, allocations: 0 / 1.409 GB, free: 10.18 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001091/1.178, allocations: 327.5 kB / 1.41 GB, free: 9.863 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/1.18, allocations: 0.5309 MB / 1.41 GB, free: 9.496 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003719/1.184, allocations: 1.286 MB / 1.411 GB, free: 8.211 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.184, allocations: 4 kB / 1.411 GB, free: 8.207 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.185, allocations: 0.6443 MB / 1.412 GB, free: 7.566 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.188, allocations: 0.5875 MB / 1.413 GB, free: 6.984 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/1.194, allocations: 2.632 MB / 1.415 GB, free: 4.266 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/1.195, allocations: 1.167 MB / 1.416 GB, free: 3.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/1.195, allocations: 131.4 kB / 1.416 GB, free: 2.941 MB / 1.139 GB Notification: Performance of SimCode: time 1.152e-06/1.195, allocations: 0 / 1.416 GB, free: 2.941 MB / 1.139 GB Notification: Performance of Templates: time 0.033/1.228, allocations: 20.49 MB / 1.436 GB, free: 14.59 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches