Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.005564/0.005564, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001331/0.001331, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8044/0.8066, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.687/3.493, allocations: 1.37 GB / 2.536 GB, free: 85.16 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.375/3.868, allocations: 334.1 MB / 2.863 GB, free: 15.66 MB / 1.857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04961/3.918, allocations: 1.219 MB / 2.864 GB, free: 14.43 MB / 1.857 GB Notification: Performance of NFTyping.typeComponents: time 0.03923/3.957, allocations: 13.25 MB / 2.877 GB, free: 1.098 MB / 1.857 GB Notification: Performance of NFTyping.typeBindings: time 1.164/5.121, allocations: 32.21 MB / 2.908 GB, free: 13.43 MB / 1.857 GB Notification: Performance of NFTyping.typeClassSections: time 0.04555/5.167, allocations: 19.81 MB / 2.928 GB, free: 13.1 MB / 1.857 GB Notification: Performance of NFFlatten.flatten: time 0.08231/5.249, allocations: 58.2 MB / 2.984 GB, free: 12.81 MB / 1.857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04603/5.295, allocations: 23.37 MB / 3.007 GB, free: 25.54 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06212/5.358, allocations: 25.01 MB / 3.032 GB, free: 24.91 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0394/5.397, allocations: 17.76 MB / 3.049 GB, free: 21.27 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.01069/5.408, allocations: 2.131 MB / 3.051 GB, free: 21.27 MB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0538/5.462, allocations: 17.97 MB / 3.069 GB, free: 21.25 MB / 1.873 GB Notification: Performance of NFScalarize.scalarize: time 0.01039/5.472, allocations: 4.885 MB / 3.073 GB, free: 20.51 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.02585/5.498, allocations: 11.17 MB / 3.084 GB, free: 17.55 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.07772/5.576, allocations: 42.27 MB / 3.126 GB, free: 7.852 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/5.576, allocations: 0 / 3.126 GB, free: 7.852 MB / 1.873 GB Notification: Performance of FrontEnd: time 1.553e-06/5.576, allocations: 0 / 3.126 GB, free: 7.852 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.001058/5.577, allocations: 0 / 3.126 GB, free: 7.852 MB / 1.873 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.05194/5.629, allocations: 21.59 MB / 3.147 GB, free: 12.54 MB / 1.889 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/5.629, allocations: 9.641 kB / 3.147 GB, free: 12.54 MB / 1.889 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008448/5.637, allocations: 2.355 MB / 3.149 GB, free: 11.35 MB / 1.889 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04232/5.68, allocations: 19.07 MB / 3.168 GB, free: 3.551 MB / 1.889 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009288/5.681, allocations: 0.9719 MB / 3.169 GB, free: 2.988 MB / 1.889 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004637/5.685, allocations: 1.291 MB / 3.17 GB, free: 2.113 MB / 1.889 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03902/5.724, allocations: 14.61 MB / 3.184 GB, free: 7.711 MB / 1.904 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006296/5.725, allocations: 53 kB / 3.184 GB, free: 7.684 MB / 1.904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003499/5.728, allocations: 0.5377 MB / 3.185 GB, free: 7.547 MB / 1.904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003596/5.729, allocations: 341.4 kB / 3.185 GB, free: 7.223 MB / 1.904 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/5.751, allocations: 10.1 MB / 3.195 GB, free: 1.07 MB / 1.904 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.1062/5.858, allocations: 76.74 MB / 3.27 GB, free: 8.145 MB / 1.982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007702/5.865, allocations: 4.57 MB / 3.274 GB, free: 3.402 MB / 1.982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/5.869, allocations: 2.437 MB / 3.277 GB, free: 0.9023 MB / 1.982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09048/5.959, allocations: 51.67 MB / 3.327 GB, free: 5.934 MB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/5.96, allocations: 136.9 kB / 3.327 GB, free: 5.805 MB / 2.045 GB Notification: Performance of pre-optimization done (n=412): time 7.164e-06/5.96, allocations: 0 / 3.327 GB, free: 5.805 MB / 2.045 GB Notification: Performance of matching and sorting (n=412): time 0.01887/5.979, allocations: 7.063 MB / 3.334 GB, free: 14.81 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003985/5.979, allocations: 0.8057 MB / 3.335 GB, free: 13.84 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04236/6.021, allocations: 16.67 MB / 3.351 GB, free: 13.26 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001427/6.023, allocations: 141.7 kB / 3.351 GB, free: 13.12 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01235/6.035, allocations: 8.684 MB / 3.36 GB, free: 4.43 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.00276/6.038, allocations: 1.532 MB / 3.361 GB, free: 2.918 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005149/6.043, allocations: 1.503 MB / 3.363 GB, free: 1.41 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/6.043, allocations: 301.1 kB / 3.363 GB, free: 1.113 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004682/6.048, allocations: 2.082 MB / 3.365 GB, free: 15.03 MB / 2.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007903/6.056, allocations: 5.282 MB / 3.37 GB, free: 8.445 MB / 2.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/6.066, allocations: 7.143 MB / 3.377 GB, free: 0.5508 MB / 2.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/6.066, allocations: 20 kB / 3.377 GB, free: 0.5312 MB / 2.092 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01994/6.086, allocations: 8.439 MB / 3.386 GB, free: 8.578 MB / 2.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/6.086, allocations: 40 kB / 3.386 GB, free: 8.539 MB / 2.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/6.086, allocations: 80 kB / 3.386 GB, free: 8.461 MB / 2.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/6.087, allocations: 120 kB / 3.386 GB, free: 8.344 MB / 2.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/6.092, allocations: 1.459 MB / 3.387 GB, free: 6.996 MB / 2.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002084/6.092, allocations: 171.1 kB / 3.387 GB, free: 6.863 MB / 2.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/6.105, allocations: 1.351 MB / 3.389 GB, free: 5.508 MB / 2.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/6.106, allocations: 391.9 kB / 3.389 GB, free: 5.125 MB / 2.107 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.01037/6.117, allocations: 3.567 MB / 3.393 GB, free: 1.656 MB / 2.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005907/6.123, allocations: 1.754 MB / 3.394 GB, free: 15.89 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/6.139, allocations: 7.587 MB / 3.402 GB, free: 8.492 MB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001711/6.14, allocations: 80.59 kB / 3.402 GB, free: 8.414 MB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.333e-05/6.14, allocations: 8 kB / 3.402 GB, free: 8.406 MB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004996/6.145, allocations: 3.849 MB / 3.405 GB, free: 4.266 MB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06135/6.206, allocations: 28.84 MB / 3.434 GB, free: 7.312 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001279/6.206, allocations: 28 kB / 3.434 GB, free: 7.285 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003126/6.209, allocations: 0.7754 MB / 3.434 GB, free: 6.559 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.652e-05/6.209, allocations: 48 kB / 3.434 GB, free: 6.512 MB / 2.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006515/6.21, allocations: 152 kB / 3.435 GB, free: 6.363 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.851e-05/6.21, allocations: 74.78 kB / 3.435 GB, free: 6.305 MB / 2.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.348e-05/6.21, allocations: 53.06 kB / 3.435 GB, free: 6.266 MB / 2.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/6.23, allocations: 12.06 MB / 3.447 GB, free: 9.66 MB / 2.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00897/6.239, allocations: 2.944 MB / 3.449 GB, free: 6.684 MB / 2.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005741/6.245, allocations: 155.7 kB / 3.45 GB, free: 6.531 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/6.256, allocations: 266.1 kB / 3.45 GB, free: 6.273 MB / 2.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009784/6.257, allocations: 405.4 kB / 3.45 GB, free: 5.902 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008727/6.258, allocations: 259.8 kB / 3.45 GB, free: 5.648 MB / 2.17 GB Notification: Performance of sorting global known variables: time 0.0275/6.286, allocations: 11.85 MB / 3.462 GB, free: 9.895 MB / 2.186 GB Notification: Performance of sort global known variables: time 6.01e-07/6.286, allocations: 0 / 3.462 GB, free: 9.895 MB / 2.186 GB Notification: Performance of remove unused functions: time 0.02213/6.308, allocations: 5.406 MB / 3.467 GB, free: 4.48 MB / 2.186 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.01382/6.322, allocations: 4.569 MB / 3.472 GB, free: 392 kB / 2.186 GB Notification: Performance of simCode: created initialization part: time 0.01112/6.333, allocations: 5.677 MB / 3.477 GB, free: 11.02 MB / 2.201 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-05/6.333, allocations: 4.375 kB / 3.477 GB, free: 11.02 MB / 2.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004471/6.337, allocations: 2.591 MB / 3.48 GB, free: 8.59 MB / 2.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05713/6.395, allocations: 10.01 MB / 3.49 GB, free: 14.89 MB / 2.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05986/6.454, allocations: 28.82 MB / 3.518 GB, free: 1.867 MB / 2.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01342/6.468, allocations: 7.784 MB / 3.525 GB, free: 10.04 MB / 2.248 GB Notification: Performance of simCode: alias equations: time 0.01458/6.482, allocations: 3.251 MB / 3.529 GB, free: 6.879 MB / 2.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003614/6.486, allocations: 1.073 MB / 3.53 GB, free: 5.809 MB / 2.248 GB Notification: Performance of SimCode: time 9.52e-07/6.486, allocations: 4 kB / 3.53 GB, free: 5.805 MB / 2.248 GB Notification: Performance of Templates: time 1.768/8.254, allocations: 357.6 MB / 3.879 GB, free: 1.296 GB / 2.42 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches