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.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.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.",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.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.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.",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.008736/0.008736, allocations: 102.3 kB / 15.78 MB, free: 5.977 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.001875/0.001875, allocations: 191.1 kB / 16.72 MB, free: 5.852 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.516/1.516, allocations: 225.6 MB / 243.1 MB, free: 3.754 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 489.4 MB / 0.7669 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 68.11 kB / 1.115 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 172 MB / 1.283 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.3199/1.356, allocations: 242.6 MB / 1.52 GB, free: 13.34 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01538/1.371, allocations: 8.429 MB / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/1.374, allocations: 67.56 kB / 1.528 GB, free: 4.828 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/1.377, allocations: 1.076 MB / 1.529 GB, free: 3.746 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008901/1.386, allocations: 3.181 MB / 1.532 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.009687/1.395, allocations: 3.615 MB / 1.536 GB, free: 12.93 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006695/1.402, allocations: 3.917 MB / 1.539 GB, free: 9.004 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/1.404, allocations: 1.154 MB / 1.541 GB, free: 7.816 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/1.41, allocations: 2.269 MB / 1.543 GB, free: 5.539 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/1.412, allocations: 1.432 MB / 1.544 GB, free: 4.102 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003055/1.413, allocations: 128 kB / 1.544 GB, free: 3.977 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/1.423, allocations: 4.177 MB / 1.548 GB, free: 15.79 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0009333/1.424, allocations: 0.5917 MB / 1.549 GB, free: 15.2 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/1.425, allocations: 0.9947 MB / 1.55 GB, free: 14.2 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009709/1.435, allocations: 3.854 MB / 1.554 GB, free: 10.33 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.435, allocations: 0 / 1.554 GB, free: 10.33 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.613e-06/1.435, allocations: 0 / 1.554 GB, free: 10.33 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.407e-05/1.435, allocations: 0 / 1.554 GB, free: 10.33 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006789/1.442, allocations: 2.706 MB / 1.556 GB, free: 7.551 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.442, allocations: 8.031 kB / 1.556 GB, free: 7.543 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007184/1.449, allocations: 1.095 MB / 1.557 GB, free: 6.445 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/1.452, allocations: 1.259 MB / 1.559 GB, free: 5.133 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.189e-05/1.452, allocations: 98.56 kB / 1.559 GB, free: 5.035 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/1.452, allocations: 128 kB / 1.559 GB, free: 4.91 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/1.456, allocations: 1.976 MB / 1.561 GB, free: 2.789 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/1.456, allocations: 7.938 kB / 1.561 GB, free: 2.781 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.456, allocations: 56 kB / 1.561 GB, free: 2.727 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.359e-05/1.456, allocations: 62.3 kB / 1.561 GB, free: 2.664 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/1.461, allocations: 1.878 MB / 1.563 GB, free: 0.7773 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/1.473, allocations: 9.174 MB / 1.572 GB, free: 6.973 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/1.478, allocations: 1.544 MB / 1.573 GB, free: 5.418 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/1.48, allocations: 0.7531 MB / 1.574 GB, free: 4.664 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009833/1.481, allocations: 0.5894 MB / 1.575 GB, free: 3.965 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/1.483, allocations: 0.8603 MB / 1.575 GB, free: 3.09 MB / 1.264 GB Notification: Performance of pre-optimization done (n=104): time 2.866e-06/1.483, allocations: 0 / 1.575 GB, free: 3.09 MB / 1.264 GB Notification: Performance of matching and sorting (n=104): time 0.006774/1.49, allocations: 2.318 MB / 1.578 GB, free: 0.7656 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/1.49, allocations: 68.41 kB / 1.578 GB, free: 0.6875 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/1.492, allocations: 1.672 MB / 1.579 GB, free: 15.02 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/1.492, allocations: 45.7 kB / 1.579 GB, free: 14.96 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007674/1.493, allocations: 0.84 MB / 1.58 GB, free: 14.12 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/1.493, allocations: 380.8 kB / 1.581 GB, free: 13.74 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004113/1.494, allocations: 242.8 kB / 1.581 GB, free: 13.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.494, allocations: 357.9 kB / 1.581 GB, free: 13.14 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/1.496, allocations: 0.6583 MB / 1.582 GB, free: 12.48 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/1.498, allocations: 1.062 MB / 1.583 GB, free: 11.26 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/1.502, allocations: 1.711 MB / 1.584 GB, free: 9.402 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.502, allocations: 4 kB / 1.584 GB, free: 9.398 MB / 1.279 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005095/1.507, allocations: 1.925 MB / 1.586 GB, free: 7.465 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.507, allocations: 8 kB / 1.586 GB, free: 7.457 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.507, allocations: 16 kB / 1.586 GB, free: 7.441 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/1.507, allocations: 16 kB / 1.586 GB, free: 7.426 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.509, allocations: 363.5 kB / 1.587 GB, free: 7.07 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.08e-05/1.509, allocations: 23.92 kB / 1.587 GB, free: 7.047 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.511, allocations: 250.7 kB / 1.587 GB, free: 6.801 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.511, allocations: 63.97 kB / 1.587 GB, free: 6.738 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0007701/1.512, allocations: 411.5 kB / 1.587 GB, free: 6.324 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/1.512, allocations: 194.8 kB / 1.588 GB, free: 6.133 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004778/1.517, allocations: 1.777 MB / 1.589 GB, free: 4.348 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.517, allocations: 11.98 kB / 1.589 GB, free: 4.336 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.517, allocations: 0 / 1.589 GB, free: 4.336 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.517, allocations: 7.984 kB / 1.589 GB, free: 4.328 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008181/1.525, allocations: 3.936 MB / 1.593 GB, free: 248 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.525, allocations: 8 kB / 1.593 GB, free: 240 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.527, allocations: 268.3 kB / 1.594 GB, free: 15.97 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/1.527, allocations: 15.94 kB / 1.594 GB, free: 15.96 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/1.527, allocations: 35.97 kB / 1.594 GB, free: 15.92 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/1.527, allocations: 12 kB / 1.594 GB, free: 15.91 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.527, allocations: 11.94 kB / 1.594 GB, free: 15.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006836/1.534, allocations: 2.864 MB / 1.596 GB, free: 12.93 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009334/1.535, allocations: 391.5 kB / 1.597 GB, free: 12.53 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/1.535, allocations: 32 kB / 1.597 GB, free: 12.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.536, allocations: 119.9 kB / 1.597 GB, free: 12.38 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/1.537, allocations: 84.44 kB / 1.597 GB, free: 12.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/1.537, allocations: 47.97 kB / 1.597 GB, free: 12.25 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001716/1.538, allocations: 1.135 MB / 1.598 GB, free: 11.13 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.538, allocations: 0 / 1.598 GB, free: 11.13 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001485/1.54, allocations: 463.5 kB / 1.599 GB, free: 10.68 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 98 * 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.002148/1.542, allocations: 0.5958 MB / 1.599 GB, free: 10.24 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004528/1.547, allocations: 1.569 MB / 1.601 GB, free: 8.668 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.547, allocations: 4.25 kB / 1.601 GB, free: 8.664 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.549, allocations: 0.7661 MB / 1.601 GB, free: 7.898 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/1.553, allocations: 0.9444 MB / 1.602 GB, free: 6.973 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.564, allocations: 3.885 MB / 1.606 GB, free: 2.973 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.566, allocations: 1.364 MB / 1.608 GB, free: 1.582 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001887/1.567, allocations: 454.6 kB / 1.608 GB, free: 1.133 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/1.568, allocations: 151.4 kB / 1.608 GB, free: 0.9844 MB / 1.295 GB Notification: Performance of SimCode: time 1.643e-06/1.568, allocations: 0 / 1.608 GB, free: 0.9844 MB / 1.295 GB Notification: Performance of Templates: time 0.06157/1.63, allocations: 33.4 MB / 1.641 GB, free: 48 kB / 1.326 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/jenkins/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