Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_TSetOnly,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_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,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_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001591/0.001591, allocations: 187 kB / 17.34 MB, free: 5.73 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.363/1.363, 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 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.993/0.9944, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2248/1.219, allocations: 193.8 MB / 1.398 GB, free: 11.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01035/1.23, allocations: 5.148 MB / 1.403 GB, free: 5.934 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/1.232, allocations: 47.69 kB / 1.403 GB, free: 5.887 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/1.234, allocations: 0.8042 MB / 1.404 GB, free: 5.078 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009127/1.244, allocations: 2.602 MB / 1.406 GB, free: 2.465 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/1.247, allocations: 1.109 MB / 1.407 GB, free: 1.363 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005049/1.252, allocations: 2.598 MB / 1.41 GB, free: 14.76 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/1.254, allocations: 0.894 MB / 1.411 GB, free: 13.86 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/1.257, allocations: 1.109 MB / 1.412 GB, free: 12.74 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/1.259, allocations: 0.9534 MB / 1.413 GB, free: 11.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004774/1.26, allocations: 80 kB / 1.413 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005041/1.265, allocations: 1.789 MB / 1.414 GB, free: 9.914 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006989/1.266, allocations: 442.6 kB / 1.415 GB, free: 9.48 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.267, allocations: 0.6526 MB / 1.416 GB, free: 8.824 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005049/1.272, allocations: 2.165 MB / 1.418 GB, free: 6.652 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.272, allocations: 3.938 kB / 1.418 GB, free: 6.648 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.263e-06/1.272, allocations: 0 / 1.418 GB, free: 6.648 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.731e-05/1.272, allocations: 0 / 1.418 GB, free: 6.648 MB / 1.139 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.005966/1.278, allocations: 1.93 MB / 1.42 GB, free: 4.664 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.278, allocations: 8.031 kB / 1.42 GB, free: 4.656 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/1.283, allocations: 0.7083 MB / 1.42 GB, free: 3.945 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/1.285, allocations: 0.9527 MB / 1.421 GB, free: 2.934 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/1.285, allocations: 66 kB / 1.421 GB, free: 2.871 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/1.285, allocations: 88 kB / 1.421 GB, free: 2.785 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/1.289, allocations: 1.465 MB / 1.423 GB, free: 1.262 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/1.289, allocations: 4 kB / 1.423 GB, free: 1.258 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.289, allocations: 39.98 kB / 1.423 GB, free: 1.219 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/1.289, allocations: 45.98 kB / 1.423 GB, free: 1.176 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/1.293, allocations: 1.561 MB / 1.424 GB, free: 15.61 MB / 1.154 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.007225/1.301, allocations: 5.034 MB / 1.429 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/1.304, allocations: 1.176 MB / 1.43 GB, free: 9.129 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/1.306, allocations: 0.6585 MB / 1.431 GB, free: 8.469 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/1.307, allocations: 0.9449 MB / 1.432 GB, free: 7.336 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/1.309, allocations: 0.7224 MB / 1.433 GB, free: 6.602 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/1.309, allocations: 0 / 1.433 GB, free: 6.602 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.006196/1.315, allocations: 1.948 MB / 1.435 GB, free: 4.645 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/1.315, allocations: 60.06 kB / 1.435 GB, free: 4.574 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/1.317, allocations: 1.276 MB / 1.436 GB, free: 3.293 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/1.317, allocations: 45.7 kB / 1.436 GB, free: 3.242 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/1.318, allocations: 0.5677 MB / 1.436 GB, free: 2.668 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/1.318, allocations: 288 kB / 1.437 GB, free: 2.383 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/1.319, allocations: 182.5 kB / 1.437 GB, free: 2.199 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.319, allocations: 341.9 kB / 1.437 GB, free: 1.859 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.32, allocations: 0.5445 MB / 1.438 GB, free: 1.312 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/1.322, allocations: 0.8247 MB / 1.439 GB, free: 392 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/1.326, allocations: 1.34 MB / 1.44 GB, free: 14.95 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/1.326, allocations: 4 kB / 1.44 GB, free: 14.94 MB / 1.17 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004346/1.33, allocations: 1.515 MB / 1.441 GB, free: 13.42 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.33, allocations: 16.06 kB / 1.441 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.33, allocations: 4 kB / 1.441 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/1.33, allocations: 12 kB / 1.441 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.332, allocations: 291.5 kB / 1.442 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.394e-05/1.332, allocations: 15.98 kB / 1.442 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.334, allocations: 206.6 kB / 1.442 GB, free: 12.88 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.334, allocations: 55.91 kB / 1.442 GB, free: 12.83 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0006459/1.334, allocations: 331.7 kB / 1.442 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/1.335, allocations: 134.4 kB / 1.442 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/1.339, allocations: 1.46 MB / 1.444 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.339, allocations: 8 kB / 1.444 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.339, allocations: 0 / 1.444 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.339, allocations: 3.984 kB / 1.444 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/1.345, allocations: 2.858 MB / 1.447 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.345, allocations: 4 kB / 1.447 GB, free: 7.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.347, allocations: 240.1 kB / 1.447 GB, free: 7.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-05/1.347, allocations: 12 kB / 1.447 GB, free: 7.664 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/1.347, allocations: 27.97 kB / 1.447 GB, free: 7.637 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/1.347, allocations: 4 kB / 1.447 GB, free: 7.633 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.347, allocations: 11.94 kB / 1.447 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/1.353, allocations: 2.31 MB / 1.449 GB, free: 5.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/1.353, allocations: 303.2 kB / 1.449 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/1.354, allocations: 20 kB / 1.449 GB, free: 4.914 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.355, allocations: 111.9 kB / 1.45 GB, free: 4.805 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.355, allocations: 64.38 kB / 1.45 GB, free: 4.742 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-05/1.355, allocations: 35.97 kB / 1.45 GB, free: 4.707 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001282/1.357, allocations: 0.8762 MB / 1.451 GB, free: 3.828 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.6e-07/1.357, allocations: 0 / 1.451 GB, free: 3.828 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001156/1.358, allocations: 315.7 kB / 1.451 GB, free: 3.52 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.00138/1.359, allocations: 0.529 MB / 1.451 GB, free: 3.156 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003858/1.363, allocations: 1.323 MB / 1.453 GB, free: 1.832 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.363, allocations: 0 / 1.453 GB, free: 1.832 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/1.365, allocations: 0.656 MB / 1.453 GB, free: 1.172 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.368, allocations: 0.6252 MB / 1.454 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005506/1.373, allocations: 2.618 MB / 1.456 GB, free: 13.85 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009006/1.374, allocations: 1.175 MB / 1.458 GB, free: 12.65 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/1.375, allocations: 127.4 kB / 1.458 GB, free: 12.52 MB / 1.186 GB Notification: Performance of SimCode: time 7.71e-07/1.375, allocations: 0 / 1.458 GB, free: 12.52 MB / 1.186 GB Notification: Performance of Templates: time 0.03557/1.411, allocations: 21.04 MB / 1.478 GB, free: 7.66 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches