Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 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.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.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.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.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.001588/0.001588, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.375 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: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 69.95 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.102/4.453, allocations: 1.369 GB / 2.438 GB, free: 83.21 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.4818/4.935, allocations: 333.9 MB / 2.764 GB, free: 22.81 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06676/5.002, allocations: 1.224 MB / 2.765 GB, free: 22.05 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.04619/5.048, allocations: 13.25 MB / 2.778 GB, free: 10.11 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.1331/5.181, allocations: 32.24 MB / 2.809 GB, free: 14.4 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.07286/5.254, allocations: 19.64 MB / 2.828 GB, free: 12.73 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.1033/5.357, allocations: 58.14 MB / 2.885 GB, free: 4.148 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06693/5.424, allocations: 23.36 MB / 2.908 GB, free: 12.9 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07987/5.504, allocations: 24.89 MB / 2.932 GB, free: 5.441 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04346/5.548, allocations: 17.73 MB / 2.95 GB, free: 3.992 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.01246/5.56, allocations: 2.129 MB / 2.952 GB, free: 1.863 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05829/5.619, allocations: 17.8 MB / 2.969 GB, free: 44 kB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.01375/5.633, allocations: 4.886 MB / 2.974 GB, free: 11.14 MB / 1.764 GB Notification: Performance of NFVerifyModel.verify: time 0.03308/5.666, allocations: 11.18 MB / 2.985 GB, free: 15.91 MB / 1.779 GB Notification: Performance of NFConvertDAE.convert: time 0.09389/5.76, allocations: 40.54 MB / 3.024 GB, free: 7.262 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/5.76, allocations: 0 / 3.024 GB, free: 7.262 MB / 1.811 GB Notification: Performance of FrontEnd: time 2.134e-06/5.76, allocations: 0 / 3.024 GB, free: 7.262 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.001459/5.761, allocations: 0 / 3.024 GB, free: 7.262 MB / 1.811 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.0684/5.83, allocations: 20.92 MB / 3.045 GB, free: 2.094 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/5.83, allocations: 16.03 kB / 3.045 GB, free: 2.078 MB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/5.843, allocations: 2.248 MB / 3.047 GB, free: 15.8 MB / 1.842 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8603/6.703, allocations: 17.67 MB / 3.064 GB, free: 0.9475 GB / 1.842 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002771/6.706, allocations: 0.9758 MB / 3.065 GB, free: 0.9475 GB / 1.842 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006306/6.712, allocations: 1.284 MB / 3.067 GB, free: 0.9475 GB / 1.842 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05584/6.768, allocations: 14.61 MB / 3.081 GB, free: 0.9421 GB / 1.842 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009482/6.769, allocations: 49.59 kB / 3.081 GB, free: 0.9421 GB / 1.842 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004719/6.774, allocations: 0.5316 MB / 3.081 GB, free: 0.9417 GB / 1.842 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007277/6.775, allocations: 347.5 kB / 3.082 GB, free: 0.9417 GB / 1.842 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03152/6.806, allocations: 10.1 MB / 3.092 GB, free: 0.9378 GB / 1.842 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.1182/6.925, allocations: 77.09 MB / 3.167 GB, free: 0.8795 GB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/6.932, allocations: 4.57 MB / 3.171 GB, free: 0.8768 GB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/6.936, allocations: 2.446 MB / 3.174 GB, free: 0.8755 GB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07914/7.015, allocations: 51.5 MB / 3.224 GB, free: 0.8324 GB / 1.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/7.015, allocations: 116.8 kB / 3.224 GB, free: 0.8323 GB / 1.842 GB Notification: Performance of pre-optimization done (n=412): time 1.777e-05/7.016, allocations: 3.969 kB / 3.224 GB, free: 0.8323 GB / 1.842 GB Notification: Performance of matching and sorting (n=412): time 0.01916/7.035, allocations: 6.995 MB / 3.231 GB, free: 0.8289 GB / 1.842 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000246/7.035, allocations: 0.7904 MB / 3.232 GB, free: 0.828 GB / 1.842 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04105/7.076, allocations: 16.67 MB / 3.248 GB, free: 0.8172 GB / 1.842 GB Notification: Performance of collectPreVariables (initialization): time 0.001478/7.078, allocations: 145.7 kB / 3.248 GB, free: 0.817 GB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.008979/7.087, allocations: 8.709 MB / 3.257 GB, free: 0.8085 GB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.002532/7.089, allocations: 1.462 MB / 3.258 GB, free: 0.8071 GB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00283/7.092, allocations: 1.487 MB / 3.259 GB, free: 0.8056 GB / 1.842 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/7.092, allocations: 305.1 kB / 3.26 GB, free: 0.8053 GB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/7.095, allocations: 2.078 MB / 3.262 GB, free: 0.8033 GB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/7.1, allocations: 5.286 MB / 3.267 GB, free: 0.7969 GB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007359/7.107, allocations: 7.133 MB / 3.274 GB, free: 0.789 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.886e-05/7.107, allocations: 24 kB / 3.274 GB, free: 0.7889 GB / 1.842 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01752/7.125, allocations: 8.357 MB / 3.282 GB, free: 0.7808 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/7.125, allocations: 40 kB / 3.282 GB, free: 0.7808 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-05/7.125, allocations: 80 kB / 3.282 GB, free: 0.7807 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/7.125, allocations: 116 kB / 3.282 GB, free: 0.7806 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/7.13, allocations: 1.459 MB / 3.284 GB, free: 0.7791 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001625/7.13, allocations: 176 kB / 3.284 GB, free: 0.779 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01295/7.143, allocations: 1.353 MB / 3.285 GB, free: 0.7777 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/7.144, allocations: 391.9 kB / 3.286 GB, free: 0.7773 GB / 1.842 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * 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 (847): * Single equations (assignments): 847 * 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.009219/7.154, allocations: 3.565 MB / 3.289 GB, free: 0.7738 GB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007201/7.161, allocations: 1.663 MB / 3.291 GB, free: 0.7721 GB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/7.178, allocations: 7.571 MB / 3.298 GB, free: 0.7649 GB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002247/7.178, allocations: 87.94 kB / 3.298 GB, free: 0.7648 GB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.606e-05/7.178, allocations: 8 kB / 3.298 GB, free: 0.7648 GB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004468/7.183, allocations: 3.835 MB / 3.302 GB, free: 0.7607 GB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05043/7.233, allocations: 28.77 MB / 3.33 GB, free: 0.7323 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000149/7.233, allocations: 36.03 kB / 3.33 GB, free: 0.7322 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/7.236, allocations: 0.7723 MB / 3.331 GB, free: 0.7315 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.64e-05/7.236, allocations: 51.98 kB / 3.331 GB, free: 0.7314 GB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006968/7.237, allocations: 152 kB / 3.331 GB, free: 0.7313 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.428e-05/7.237, allocations: 79.66 kB / 3.331 GB, free: 0.7312 GB / 1.842 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/7.237, allocations: 47.81 kB / 3.331 GB, free: 0.7311 GB / 1.842 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/7.258, allocations: 11.96 MB / 3.343 GB, free: 0.7189 GB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009556/7.268, allocations: 2.844 MB / 3.346 GB, free: 0.7161 GB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005473/7.274, allocations: 147.7 kB / 3.346 GB, free: 0.7159 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01/7.284, allocations: 258.8 kB / 3.346 GB, free: 0.7157 GB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/7.285, allocations: 402.7 kB / 3.346 GB, free: 0.7153 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/7.286, allocations: 259.8 kB / 3.347 GB, free: 0.7151 GB / 1.842 GB Notification: Performance of sorting global known variables: time 0.02478/7.311, allocations: 11.85 MB / 3.358 GB, free: 0.7036 GB / 1.842 GB Notification: Performance of sort global known variables: time 5.31e-07/7.311, allocations: 0 / 3.358 GB, free: 0.7036 GB / 1.842 GB Notification: Performance of remove unused functions: time 0.02083/7.331, allocations: 5.367 MB / 3.363 GB, free: 0.6986 GB / 1.842 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 (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.01181/7.343, allocations: 4.419 MB / 3.368 GB, free: 0.6947 GB / 1.842 GB Notification: Performance of simCode: created initialization part: time 0.0115/7.355, allocations: 5.954 MB / 3.374 GB, free: 0.6889 GB / 1.842 GB Notification: Performance of simCode: created event and clocks part: time 5.053e-05/7.355, allocations: 6.25 kB / 3.374 GB, free: 0.6889 GB / 1.842 GB Notification: Performance of simCode: created simulation system equations: time 0.004373/7.359, allocations: 2.58 MB / 3.376 GB, free: 0.6864 GB / 1.842 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05865/7.418, allocations: 10.08 MB / 3.386 GB, free: 0.6774 GB / 1.842 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04945/7.467, allocations: 28.72 MB / 3.414 GB, free: 0.649 GB / 1.842 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01497/7.482, allocations: 7.794 MB / 3.422 GB, free: 0.6413 GB / 1.842 GB Notification: Performance of simCode: alias equations: time 0.0179/7.5, allocations: 3.24 MB / 3.425 GB, free: 0.6384 GB / 1.842 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004556/7.505, allocations: 1.077 MB / 3.426 GB, free: 0.6373 GB / 1.842 GB Notification: Performance of SimCode: time 1.383e-06/7.505, allocations: 0 / 3.426 GB, free: 0.6373 GB / 1.842 GB Notification: Performance of Templates: time 0.4742/7.979, allocations: 355.3 MB / 3.773 GB, free: 299.6 MB / 1.842 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches