Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.493/2.493, allocations: 390.5 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 176.8 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 82.95 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.735e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3327, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.107/9.44, allocations: 3.173 GB / 4.385 GB, free: 48.33 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/9.44, allocations: 103.1 kB / 4.385 GB, free: 48.28 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 53.63/63.07, allocations: 10.67 GB / 15.06 GB, free: 89.53 MB / 1.823 GB Notification: Performance of FrontEnd: time 2.855e-06/63.07, allocations: 2 kB / 15.06 GB, free: 89.53 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.005687/63.08, allocations: 0.5637 MB / 15.06 GB, free: 89.41 MB / 1.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.08906/63.17, allocations: 17.87 MB / 15.07 GB, free: 81.34 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/63.17, allocations: 11.58 kB / 15.07 GB, free: 81.34 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02222/63.19, allocations: 2.634 MB / 15.08 GB, free: 80.28 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07779/63.27, allocations: 20.88 MB / 15.1 GB, free: 77.75 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001555/63.27, allocations: 407.9 kB / 15.1 GB, free: 77.75 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008149/63.28, allocations: 0.8052 MB / 15.1 GB, free: 77.75 MB / 1.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03674/63.32, allocations: 8.37 MB / 15.11 GB, free: 77.7 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06233/63.38, allocations: 11.82 MB / 15.12 GB, free: 75.62 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001486/63.38, allocations: 39.44 kB / 15.12 GB, free: 75.62 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007386/63.39, allocations: 29.73 kB / 15.12 GB, free: 75.62 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008104/63.39, allocations: 351.4 kB / 15.12 GB, free: 75.62 MB / 1.823 GB Warning: The model contains alias variables with conflicting start and/or 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.4947/63.88, allocations: 228 MB / 15.34 GB, free: 19.82 MB / 1.901 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008657/63.89, allocations: 4.333 MB / 15.35 GB, free: 19.12 MB / 1.901 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004498/63.9, allocations: 2.189 MB / 15.35 GB, free: 18.9 MB / 1.901 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/63.91, allocations: 11.92 MB / 15.36 GB, free: 21.38 MB / 1.917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/63.91, allocations: 117.5 kB / 15.36 GB, free: 21.33 MB / 1.917 GB Notification: Performance of pre-optimization done (n=413): time 3.098e-05/63.91, allocations: 0 / 15.36 GB, free: 21.33 MB / 1.917 GB Notification: Performance of matching and sorting (n=413): time 0.02546/63.94, allocations: 5.184 MB / 15.36 GB, free: 20.54 MB / 1.917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006214/63.94, allocations: 0.7886 MB / 15.37 GB, free: 19.63 MB / 1.917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04547/63.98, allocations: 9.553 MB / 15.37 GB, free: 18.92 MB / 1.917 GB Notification: Performance of collectPreVariables (initialization): time 0.002844/63.99, allocations: 58.02 kB / 15.37 GB, free: 18.89 MB / 1.917 GB Notification: Performance of collectInitialEqns (initialization): time 0.01393/64, allocations: 9.08 MB / 15.38 GB, free: 15.5 MB / 1.917 GB Notification: Performance of collectInitialBindings (initialization): time 0.003442/64, allocations: 1.397 MB / 15.38 GB, free: 14.59 MB / 1.917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00213/64.01, allocations: 0 / 15.38 GB, free: 14.59 MB / 1.917 GB Notification: Performance of setup shared object (initialization): time 0.001716/64.01, allocations: 0.5338 MB / 15.39 GB, free: 14.27 MB / 1.917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006912/64.01, allocations: 1.764 MB / 15.39 GB, free: 14.25 MB / 1.917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009066/64.02, allocations: 5.551 MB / 15.39 GB, free: 9.562 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/64.03, allocations: 3.372 MB / 15.4 GB, free: 9.379 MB / 1.917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/64.03, allocations: 21.38 kB / 15.4 GB, free: 9.379 MB / 1.917 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02987/64.06, allocations: 7.315 MB / 15.4 GB, free: 8.582 MB / 1.917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/64.06, allocations: 36.88 kB / 15.4 GB, free: 8.582 MB / 1.917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/64.07, allocations: 78.94 kB / 15.4 GB, free: 8.582 MB / 1.917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/64.07, allocations: 120.4 kB / 15.4 GB, free: 8.582 MB / 1.917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006939/64.07, allocations: 1.415 MB / 15.4 GB, free: 8.57 MB / 1.917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002777/64.07, allocations: 158.5 kB / 15.4 GB, free: 8.539 MB / 1.917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01858/64.09, allocations: 0.959 MB / 15.41 GB, free: 8.145 MB / 1.917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003548/64.09, allocations: 435.7 kB / 15.41 GB, free: 8.145 MB / 1.917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (776): * Single equations (assignments): 776 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005575/64.1, allocations: 377.8 kB / 15.41 GB, free: 7.875 MB / 1.917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008593/64.11, allocations: 1.276 MB / 15.41 GB, free: 7.195 MB / 1.917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02681/64.14, allocations: 6.366 MB / 15.41 GB, free: 6.828 MB / 1.917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003946/64.14, allocations: 72.12 kB / 15.41 GB, free: 6.828 MB / 1.917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001129/64.14, allocations: 7.781 kB / 15.41 GB, free: 6.828 MB / 1.917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01002/64.15, allocations: 3.796 MB / 15.42 GB, free: 5.047 MB / 1.917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09056/64.24, allocations: 25.39 MB / 15.44 GB, free: 0.9219 MB / 1.917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003153/64.24, allocations: 30.81 kB / 15.44 GB, free: 0.9219 MB / 1.917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004389/64.24, allocations: 0.7573 MB / 15.44 GB, free: 0.8711 MB / 1.917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/64.24, allocations: 58.75 kB / 15.44 GB, free: 0.8672 MB / 1.917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001526/64.24, allocations: 101.6 kB / 15.44 GB, free: 0.8672 MB / 1.917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001561/64.24, allocations: 70.25 kB / 15.44 GB, free: 0.8516 MB / 1.917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.867e-05/64.24, allocations: 47.44 kB / 15.44 GB, free: 0.8398 MB / 1.917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03662/64.28, allocations: 22.47 MB / 15.47 GB, free: 0.9258 MB / 1.932 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01148/64.29, allocations: 2.354 MB / 15.47 GB, free: 60 kB / 1.932 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007244/64.3, allocations: 57.84 kB / 15.47 GB, free: 56 kB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01425/64.31, allocations: 396 kB / 15.47 GB, free: 15.98 MB / 1.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001841/64.32, allocations: 405.8 kB / 15.47 GB, free: 15.91 MB / 1.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001889/64.32, allocations: 258.1 kB / 15.47 GB, free: 15.91 MB / 1.948 GB Notification: Performance of sorting global known variables: time 0.0242/64.34, allocations: 7.107 MB / 15.48 GB, free: 15.56 MB / 1.948 GB Notification: Performance of sort global known variables: time 5.41e-07/64.34, allocations: 0 / 15.48 GB, free: 15.56 MB / 1.948 GB Notification: Performance of remove unused functions: time 0.03923/64.38, allocations: 6.696 MB / 15.48 GB, free: 14.42 MB / 1.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (477): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04942/64.43, allocations: 21.29 MB / 15.5 GB, free: 28 kB / 1.948 GB Notification: Performance of simCode: created initialization part: time 0.01258/64.44, allocations: 4.962 MB / 15.51 GB, free: 15.71 MB / 1.964 GB Notification: Performance of simCode: created event and clocks part: time 5.167e-05/64.44, allocations: 10.22 kB / 15.51 GB, free: 15.71 MB / 1.964 GB Notification: Performance of simCode: created simulation system equations: time 0.005215/64.45, allocations: 2.369 MB / 15.51 GB, free: 15.56 MB / 1.964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03742/64.49, allocations: 5.466 MB / 15.52 GB, free: 15.25 MB / 1.964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07262/64.56, allocations: 21.2 MB / 15.54 GB, free: 8.227 MB / 1.964 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02039/64.58, allocations: 8.002 MB / 15.54 GB, free: 6.922 MB / 1.964 GB Notification: Performance of simCode: alias equations: time 0.01806/64.6, allocations: 2.831 MB / 15.55 GB, free: 6.582 MB / 1.964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004397/64.6, allocations: 0.8385 MB / 15.55 GB, free: 6.57 MB / 1.964 GB Notification: Performance of SimCode: time 1.142e-06/64.6, allocations: 7.844 kB / 15.55 GB, free: 6.566 MB / 1.964 GB Notification: Performance of Templates: time 4.084/68.69, allocations: 257.6 MB / 15.8 GB, free: 426.3 MB / 1.995 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches