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 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.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.001466/0.001465, 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.001439/0.001439, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8964/0.8979, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.051/3.949, allocations: 1.369 GB / 2.578 GB, free: 72.36 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.426/4.375, allocations: 333.9 MB / 2.904 GB, free: 11.83 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05863/4.434, allocations: 1.223 MB / 2.905 GB, free: 10.6 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 1.482/5.915, allocations: 13.24 MB / 2.918 GB, free: 14.55 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.1087/6.024, allocations: 32.22 MB / 2.95 GB, free: 14.39 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.05482/6.079, allocations: 19.82 MB / 2.969 GB, free: 14.23 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.1064/6.185, allocations: 58.21 MB / 3.026 GB, free: 13.97 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07113/6.256, allocations: 23.36 MB / 3.049 GB, free: 26.7 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07116/6.328, allocations: 25.52 MB / 3.073 GB, free: 26.04 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04312/6.371, allocations: 17.76 MB / 3.091 GB, free: 22.39 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0121/6.383, allocations: 2.133 MB / 3.093 GB, free: 22.39 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06194/6.445, allocations: 17.97 MB / 3.11 GB, free: 22.37 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01551/6.461, allocations: 4.888 MB / 3.115 GB, free: 21.63 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.03175/6.492, allocations: 11.17 MB / 3.126 GB, free: 18.67 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.09078/6.583, allocations: 40.96 MB / 3.166 GB, free: 9.047 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/6.583, allocations: 0 / 3.166 GB, free: 9.047 MB / 1.92 GB Notification: Performance of FrontEnd: time 2.695e-06/6.583, allocations: 0 / 3.166 GB, free: 9.047 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.001441/6.585, allocations: 0 / 3.166 GB, free: 9.047 MB / 1.92 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.07091/6.656, allocations: 20.92 MB / 3.187 GB, free: 14.32 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/6.656, allocations: 12.5 kB / 3.187 GB, free: 14.31 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/6.668, allocations: 2.256 MB / 3.189 GB, free: 13.21 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04493/6.713, allocations: 18.88 MB / 3.207 GB, free: 6.184 MB / 1.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/6.714, allocations: 0.9747 MB / 3.208 GB, free: 5.863 MB / 1.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005669/6.72, allocations: 1.285 MB / 3.209 GB, free: 4.992 MB / 1.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04825/6.768, allocations: 14.62 MB / 3.224 GB, free: 10.59 MB / 1.951 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007684/6.769, allocations: 39.62 kB / 3.224 GB, free: 10.57 MB / 1.951 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00496/6.774, allocations: 0.5331 MB / 3.224 GB, free: 10.44 MB / 1.951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005528/6.774, allocations: 354.6 kB / 3.225 GB, free: 10.11 MB / 1.951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02636/6.801, allocations: 10.1 MB / 3.234 GB, free: 3.949 MB / 1.951 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.117/6.918, allocations: 76.48 MB / 3.309 GB, free: 11.87 MB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008269/6.926, allocations: 4.561 MB / 3.314 GB, free: 7.133 MB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004301/6.931, allocations: 2.442 MB / 3.316 GB, free: 4.629 MB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09776/7.028, allocations: 51.66 MB / 3.366 GB, free: 9.652 MB / 2.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/7.029, allocations: 130.2 kB / 3.367 GB, free: 9.531 MB / 2.092 GB Notification: Performance of pre-optimization done (n=412): time 1.921e-05/7.029, allocations: 0 / 3.367 GB, free: 9.531 MB / 2.092 GB Notification: Performance of matching and sorting (n=412): time 0.02173/7.05, allocations: 6.986 MB / 3.373 GB, free: 2.617 MB / 2.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004149/7.051, allocations: 0.7961 MB / 3.374 GB, free: 1.652 MB / 2.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04971/7.101, allocations: 16.68 MB / 3.39 GB, free: 1.066 MB / 2.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001746/7.102, allocations: 141.7 kB / 3.391 GB, free: 0.9219 MB / 2.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.01532/7.118, allocations: 8.566 MB / 3.399 GB, free: 8.344 MB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.003159/7.121, allocations: 1.46 MB / 3.4 GB, free: 6.898 MB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0066/7.128, allocations: 1.483 MB / 3.402 GB, free: 5.406 MB / 2.123 GB Notification: Performance of setup shared object (initialization): time 0.0001261/7.128, allocations: 305.1 kB / 3.402 GB, free: 5.105 MB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00555/7.133, allocations: 2.082 MB / 3.404 GB, free: 3.02 MB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009635/7.143, allocations: 5.293 MB / 3.409 GB, free: 12.43 MB / 2.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/7.154, allocations: 7.127 MB / 3.416 GB, free: 4.555 MB / 2.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/7.155, allocations: 24 kB / 3.416 GB, free: 4.531 MB / 2.139 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02328/7.178, allocations: 8.368 MB / 3.424 GB, free: 12.69 MB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/7.178, allocations: 40 kB / 3.424 GB, free: 12.65 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/7.178, allocations: 84.12 kB / 3.425 GB, free: 12.57 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/7.178, allocations: 120 kB / 3.425 GB, free: 12.45 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00581/7.184, allocations: 1.456 MB / 3.426 GB, free: 11.11 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002702/7.185, allocations: 170 kB / 3.426 GB, free: 10.97 MB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01491/7.199, allocations: 1.328 MB / 3.428 GB, free: 9.637 MB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/7.202, allocations: 399.9 kB / 3.428 GB, free: 9.246 MB / 2.154 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.01263/7.214, allocations: 3.562 MB / 3.431 GB, free: 5.785 MB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007292/7.222, allocations: 1.659 MB / 3.433 GB, free: 4.105 MB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01965/7.241, allocations: 7.542 MB / 3.44 GB, free: 12.73 MB / 2.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000277/7.242, allocations: 91.22 kB / 3.44 GB, free: 12.64 MB / 2.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.997e-05/7.242, allocations: 8 kB / 3.44 GB, free: 12.63 MB / 2.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006258/7.248, allocations: 3.846 MB / 3.444 GB, free: 8.488 MB / 2.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06505/7.313, allocations: 28.78 MB / 3.472 GB, free: 11.59 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001541/7.313, allocations: 32 kB / 3.472 GB, free: 11.56 MB / 2.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/7.317, allocations: 0.7718 MB / 3.473 GB, free: 10.84 MB / 2.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/7.317, allocations: 48 kB / 3.473 GB, free: 10.79 MB / 2.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/7.318, allocations: 155.9 kB / 3.473 GB, free: 10.64 MB / 2.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.667e-05/7.318, allocations: 70.52 kB / 3.473 GB, free: 10.59 MB / 2.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-05/7.318, allocations: 48.09 kB / 3.473 GB, free: 10.55 MB / 2.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/7.343, allocations: 11.96 MB / 3.485 GB, free: 14.04 MB / 2.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01011/7.353, allocations: 2.844 MB / 3.488 GB, free: 11.15 MB / 2.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006342/7.36, allocations: 151.7 kB / 3.488 GB, free: 11 MB / 2.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01154/7.371, allocations: 259.1 kB / 3.488 GB, free: 10.75 MB / 2.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001375/7.373, allocations: 407.9 kB / 3.489 GB, free: 10.38 MB / 2.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00132/7.374, allocations: 259.8 kB / 3.489 GB, free: 10.13 MB / 2.217 GB Notification: Performance of sorting global known variables: time 0.03206/7.406, allocations: 11.85 MB / 3.501 GB, free: 14.38 MB / 2.232 GB Notification: Performance of sort global known variables: time 7.81e-07/7.406, allocations: 0 / 3.501 GB, free: 14.38 MB / 2.232 GB Notification: Performance of remove unused functions: time 0.02374/7.43, allocations: 5.359 MB / 3.506 GB, free: 9.008 MB / 2.232 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.01426/7.444, allocations: 4.423 MB / 3.51 GB, free: 5.016 MB / 2.232 GB Notification: Performance of simCode: created initialization part: time 0.01244/7.457, allocations: 5.677 MB / 3.516 GB, free: 15.66 MB / 2.248 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-05/7.457, allocations: 7.906 kB / 3.516 GB, free: 15.65 MB / 2.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005037/7.462, allocations: 2.584 MB / 3.518 GB, free: 13.23 MB / 2.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05935/7.521, allocations: 10 MB / 3.528 GB, free: 3.52 MB / 2.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06464/7.586, allocations: 28.07 MB / 3.555 GB, free: 7.105 MB / 2.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01945/7.605, allocations: 7.524 MB / 3.563 GB, free: 15.54 MB / 2.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005207/7.611, allocations: 1.119 MB / 3.564 GB, free: 14.42 MB / 2.295 GB Notification: Performance of SimCode: time 1.263e-06/7.611, allocations: 0 / 3.564 GB, free: 14.42 MB / 2.295 GB Notification: Performance of Templates: time 1.844/9.454, allocations: 319.8 MB / 3.876 GB, free: 1.398 GB / 2.498 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/jenkins1/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