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/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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001585/0.001585, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.057/3.057, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 8.594 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4112, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.551/4.962, allocations: 1.266 GB / 2.324 GB, free: 92.5 MB / 1.498 GB Notification: Performance of NFInst.instExpressions: time 0.423/5.385, allocations: 313.1 MB / 2.63 GB, free: 85.87 MB / 1.498 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06758/5.453, allocations: 1.058 MB / 2.631 GB, free: 85.87 MB / 1.498 GB Notification: Performance of NFTyping.typeComponents: time 0.05231/5.505, allocations: 8.826 MB / 2.64 GB, free: 81.42 MB / 1.498 GB Notification: Performance of NFTyping.typeBindings: time 0.1148/5.62, allocations: 24.86 MB / 2.664 GB, free: 66.02 MB / 1.498 GB Notification: Performance of NFTyping.typeClassSections: time 0.05785/5.678, allocations: 13.05 MB / 2.677 GB, free: 58.58 MB / 1.498 GB Notification: Performance of NFFlatten.flatten: time 0.09747/5.776, allocations: 64.3 MB / 2.74 GB, free: 184 kB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04574/5.821, allocations: 14.61 MB / 2.754 GB, free: 1.727 MB / 1.514 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06695/5.888, allocations: 18.94 MB / 2.772 GB, free: 15.61 MB / 1.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04103/5.929, allocations: 18.38 MB / 2.79 GB, free: 14.36 MB / 1.561 GB Notification: Performance of NFPackage.collectConstants: time 0.008399/5.938, allocations: 0.6328 MB / 2.791 GB, free: 13.73 MB / 1.561 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05204/5.99, allocations: 12.14 MB / 2.803 GB, free: 1.828 MB / 1.561 GB Notification: Performance of NFScalarize.scalarize: time 0.01068/6.001, allocations: 3.042 MB / 2.806 GB, free: 14.84 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.01307/6.014, allocations: 4.187 MB / 2.81 GB, free: 10.64 MB / 1.576 GB Notification: Performance of NFConvertDAE.convert: time 0.06244/6.076, allocations: 32.23 MB / 2.841 GB, free: 11.57 MB / 1.607 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/6.076, allocations: 0 / 2.841 GB, free: 11.57 MB / 1.607 GB Notification: Performance of FrontEnd: time 2.785e-06/6.076, allocations: 0 / 2.841 GB, free: 11.57 MB / 1.607 GB Notification: Performance of Transformations before backend: time 0.001413/6.078, allocations: 0 / 2.841 GB, free: 11.57 MB / 1.607 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.04652/6.124, allocations: 16.97 MB / 2.858 GB, free: 10.81 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/6.124, allocations: 12.03 kB / 2.858 GB, free: 10.8 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/6.136, allocations: 2.25 MB / 2.86 GB, free: 8.527 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05103/6.187, allocations: 17.52 MB / 2.877 GB, free: 7.375 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001339/6.189, allocations: 0.9739 MB / 2.878 GB, free: 6.398 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004453/6.193, allocations: 1.289 MB / 2.879 GB, free: 5.113 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06018/6.254, allocations: 14.38 MB / 2.893 GB, free: 6.059 MB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008469/6.254, allocations: 45.55 kB / 2.894 GB, free: 6.016 MB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004671/6.259, allocations: 0.5308 MB / 2.894 GB, free: 5.488 MB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005626/6.26, allocations: 354.8 kB / 2.894 GB, free: 5.145 MB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02874/6.288, allocations: 9.99 MB / 2.904 GB, free: 11.19 MB / 1.67 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.9576/7.246, allocations: 74.79 MB / 2.977 GB, free: 0.824 GB / 1.732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00707/7.253, allocations: 4.536 MB / 2.982 GB, free: 0.8233 GB / 1.732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003282/7.257, allocations: 2.414 MB / 2.984 GB, free: 0.8231 GB / 1.732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08107/7.338, allocations: 51.89 MB / 3.035 GB, free: 0.7867 GB / 1.732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/7.338, allocations: 118.4 kB / 3.035 GB, free: 0.7866 GB / 1.732 GB Notification: Performance of pre-optimization done (n=412): time 1.875e-05/7.338, allocations: 0 / 3.035 GB, free: 0.7866 GB / 1.732 GB Notification: Performance of matching and sorting (n=412): time 0.01714/7.355, allocations: 6.94 MB / 3.042 GB, free: 0.7865 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00025/7.355, allocations: 0.7897 MB / 3.042 GB, free: 0.7856 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03718/7.393, allocations: 16.29 MB / 3.058 GB, free: 0.7847 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.00135/7.394, allocations: 150 kB / 3.058 GB, free: 0.7846 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.00956/7.404, allocations: 8.652 MB / 3.067 GB, free: 0.7785 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/7.406, allocations: 1.461 MB / 3.068 GB, free: 0.7774 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009414/7.407, allocations: 127.6 kB / 3.068 GB, free: 0.7773 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 0.0005608/7.407, allocations: 0.5423 MB / 3.069 GB, free: 0.7769 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/7.411, allocations: 2.018 MB / 3.071 GB, free: 0.7761 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006312/7.418, allocations: 5.065 MB / 3.076 GB, free: 0.7718 GB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/7.423, allocations: 2.933 MB / 3.079 GB, free: 0.7706 GB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.547e-05/7.423, allocations: 23.47 kB / 3.079 GB, free: 0.7706 GB / 1.732 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01682/7.44, allocations: 8.094 MB / 3.087 GB, free: 0.7672 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/7.44, allocations: 45.08 kB / 3.087 GB, free: 0.7672 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/7.44, allocations: 76.88 kB / 3.087 GB, free: 0.7672 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/7.44, allocations: 122.4 kB / 3.087 GB, free: 0.7672 GB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005071/7.445, allocations: 1.411 MB / 3.088 GB, free: 0.7671 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002601/7.446, allocations: 159.8 kB / 3.088 GB, free: 0.767 GB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01567/7.461, allocations: 1.865 MB / 3.09 GB, free: 0.7661 GB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/7.463, allocations: 378.5 kB / 3.091 GB, free: 0.766 GB / 1.732 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 821 * 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.01017/7.473, allocations: 3.555 MB / 3.094 GB, free: 0.7638 GB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005365/7.479, allocations: 1.655 MB / 3.096 GB, free: 0.7629 GB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/7.494, allocations: 7.565 MB / 3.103 GB, free: 0.759 GB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00017/7.494, allocations: 85.97 kB / 3.103 GB, free: 0.759 GB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.853e-05/7.494, allocations: 7.5 kB / 3.103 GB, free: 0.759 GB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003807/7.498, allocations: 3.833 MB / 3.107 GB, free: 0.7561 GB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04801/7.546, allocations: 28.68 MB / 3.135 GB, free: 0.7367 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001091/7.546, allocations: 32 kB / 3.135 GB, free: 0.7367 GB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/7.549, allocations: 0.7762 MB / 3.136 GB, free: 0.7359 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.638e-05/7.549, allocations: 52 kB / 3.136 GB, free: 0.7359 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005539/7.549, allocations: 152 kB / 3.136 GB, free: 0.7357 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.487e-05/7.549, allocations: 76.92 kB / 3.136 GB, free: 0.7356 GB / 1.732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-05/7.549, allocations: 47.81 kB / 3.136 GB, free: 0.7356 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/7.565, allocations: 11.9 MB / 3.148 GB, free: 0.7234 GB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009463/7.574, allocations: 3.128 MB / 3.151 GB, free: 0.7204 GB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006111/7.581, allocations: 129.3 kB / 3.151 GB, free: 0.7202 GB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01181/7.592, allocations: 0.6145 MB / 3.151 GB, free: 0.7197 GB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/7.593, allocations: 394.5 kB / 3.152 GB, free: 0.7193 GB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001147/7.595, allocations: 255.9 kB / 3.152 GB, free: 0.7191 GB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02613/7.621, allocations: 11.53 MB / 3.163 GB, free: 0.7079 GB / 1.732 GB Notification: Performance of sort global known variables: time 8.01e-07/7.621, allocations: 3.375 kB / 3.163 GB, free: 0.7079 GB / 1.732 GB Notification: Performance of remove unused functions: time 0.02584/7.647, allocations: 5.256 MB / 3.168 GB, free: 0.703 GB / 1.732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * 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,buiHeaGen2to4.bui.loaHea.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,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * 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.01155/7.658, allocations: 4.56 MB / 3.173 GB, free: 0.6991 GB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.01147/7.67, allocations: 5.46 MB / 3.178 GB, free: 0.6938 GB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 6.448e-05/7.67, allocations: 9.812 kB / 3.178 GB, free: 0.6938 GB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.004372/7.674, allocations: 2.573 MB / 3.181 GB, free: 0.6913 GB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05635/7.731, allocations: 9.674 MB / 3.19 GB, free: 0.6824 GB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07155/7.802, allocations: 32.56 MB / 3.222 GB, free: 0.6503 GB / 1.732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01784/7.82, allocations: 7.783 MB / 3.229 GB, free: 0.6426 GB / 1.732 GB Notification: Performance of simCode: alias equations: time 0.02269/7.843, allocations: 3.236 MB / 3.233 GB, free: 0.6396 GB / 1.732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005377/7.848, allocations: 1.062 MB / 3.234 GB, free: 0.6386 GB / 1.732 GB Notification: Performance of SimCode: time 1.202e-06/7.848, allocations: 3.844 kB / 3.234 GB, free: 0.6386 GB / 1.732 GB Notification: Performance of Templates: time 0.4885/8.337, allocations: 335.4 MB / 3.561 GB, free: 321.1 MB / 1.732 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches