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.001023/0.001023, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01046/0.01046, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.781/2.781, allocations: 443.3 MB / 0.7175 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 9.594 kB / 0.8796 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3696, allocations: 155.2 MB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.918/4.288, allocations: 1.342 GB / 2.373 GB, free: 67.64 MB / 1.482 GB Notification: Performance of NFInst.instExpressions: time 0.3505/4.638, allocations: 331 MB / 2.696 GB, free: 20.64 MB / 1.482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06083/4.699, allocations: 1.059 MB / 2.697 GB, free: 19.57 MB / 1.482 GB Notification: Performance of NFTyping.typeComponents: time 0.03818/4.737, allocations: 10.8 MB / 2.708 GB, free: 9.199 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.09977/4.837, allocations: 29.44 MB / 2.737 GB, free: 316 kB / 1.498 GB Notification: Performance of NFTyping.typeClassSections: time 0.04791/4.885, allocations: 18.13 MB / 2.754 GB, free: 192 kB / 1.514 GB Notification: Performance of NFFlatten.flatten: time 0.1319/5.017, allocations: 75.87 MB / 2.829 GB, free: 6.359 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04696/5.064, allocations: 18.39 MB / 2.847 GB, free: 4.113 MB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06106/5.125, allocations: 20.28 MB / 2.866 GB, free: 0.8477 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03547/5.161, allocations: 16.91 MB / 2.883 GB, free: 1.07 MB / 1.639 GB Notification: Performance of NFPackage.collectConstants: time 0.007186/5.168, allocations: 0.6328 MB / 2.883 GB, free: 448 kB / 1.639 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05427/5.222, allocations: 15.59 MB / 2.899 GB, free: 1.562 MB / 1.654 GB Notification: Performance of NFScalarize.scalarize: time 0.01132/5.234, allocations: 3.254 MB / 2.902 GB, free: 14.36 MB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 0.029/5.263, allocations: 9.335 MB / 2.911 GB, free: 5.043 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 2.248/7.51, allocations: 40.15 MB / 2.95 GB, free: 111.8 MB / 1.701 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/7.51, allocations: 0 / 2.95 GB, free: 111.8 MB / 1.701 GB Notification: Performance of FrontEnd: time 1.984e-06/7.51, allocations: 0 / 2.95 GB, free: 111.8 MB / 1.701 GB Notification: Performance of Transformations before backend: time 0.001007/7.511, allocations: 0 / 2.95 GB, free: 111.8 MB / 1.701 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.04234/7.554, allocations: 16.77 MB / 2.967 GB, free: 105.9 MB / 1.701 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/7.554, allocations: 9.375 kB / 2.967 GB, free: 105.9 MB / 1.701 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009085/7.563, allocations: 2.252 MB / 2.969 GB, free: 104.8 MB / 1.701 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03812/7.601, allocations: 18.07 MB / 2.986 GB, free: 102.1 MB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001496/7.603, allocations: 0.9745 MB / 2.987 GB, free: 102.1 MB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004188/7.607, allocations: 1.289 MB / 2.989 GB, free: 102.1 MB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04451/7.651, allocations: 14.49 MB / 3.003 GB, free: 100 MB / 1.701 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006786/7.652, allocations: 38.44 kB / 3.003 GB, free: 100 MB / 1.701 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003172/7.655, allocations: 0.5364 MB / 3.003 GB, free: 100 MB / 1.701 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004347/7.656, allocations: 341.1 kB / 3.004 GB, free: 100 MB / 1.701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/7.677, allocations: 10.09 MB / 3.014 GB, free: 99.94 MB / 1.701 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.09928/7.776, allocations: 74.82 MB / 3.087 GB, free: 61.31 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007477/7.784, allocations: 4.581 MB / 3.091 GB, free: 60.61 MB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003614/7.788, allocations: 2.437 MB / 3.093 GB, free: 60.38 MB / 1.701 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08306/7.871, allocations: 51.88 MB / 3.144 GB, free: 37.62 MB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/7.871, allocations: 127.9 kB / 3.144 GB, free: 37.57 MB / 1.717 GB Notification: Performance of pre-optimization done (n=412): time 2.078e-05/7.871, allocations: 0 / 3.144 GB, free: 37.57 MB / 1.717 GB Notification: Performance of matching and sorting (n=412): time 0.01797/7.889, allocations: 6.983 MB / 3.151 GB, free: 36.61 MB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004087/7.89, allocations: 0.7995 MB / 3.152 GB, free: 35.69 MB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04052/7.93, allocations: 16.44 MB / 3.168 GB, free: 34.68 MB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/7.931, allocations: 138.7 kB / 3.168 GB, free: 34.64 MB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.01006/7.941, allocations: 8.65 MB / 3.176 GB, free: 32.81 MB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.002135/7.944, allocations: 1.46 MB / 3.178 GB, free: 31.89 MB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/7.945, allocations: 0.5078 MB / 3.178 GB, free: 31.86 MB / 1.717 GB Notification: Performance of setup shared object (initialization): time 0.0001062/7.945, allocations: 305.1 kB / 3.179 GB, free: 31.56 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/7.949, allocations: 2.046 MB / 3.181 GB, free: 31.54 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006032/7.955, allocations: 5.083 MB / 3.186 GB, free: 28.17 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007762/7.963, allocations: 6.881 MB / 3.192 GB, free: 25.32 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.811e-05/7.963, allocations: 19.56 kB / 3.192 GB, free: 25.32 MB / 1.717 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01691/7.98, allocations: 8.154 MB / 3.2 GB, free: 24.35 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/7.98, allocations: 35.91 kB / 3.2 GB, free: 24.35 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/7.98, allocations: 76 kB / 3.2 GB, free: 24.35 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/7.98, allocations: 113.3 kB / 3.201 GB, free: 24.35 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004871/7.985, allocations: 1.408 MB / 3.202 GB, free: 24.35 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/7.986, allocations: 157.5 kB / 3.202 GB, free: 24.35 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0172/8.003, allocations: 1.855 MB / 3.204 GB, free: 23.57 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/8.005, allocations: 382.3 kB / 3.204 GB, free: 23.57 MB / 1.717 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01033/8.015, allocations: 3.559 MB / 3.208 GB, free: 23.4 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005509/8.021, allocations: 1.656 MB / 3.209 GB, free: 22.52 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/8.036, allocations: 7.568 MB / 3.217 GB, free: 22.07 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001985/8.036, allocations: 85.62 kB / 3.217 GB, free: 22.07 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-05/8.036, allocations: 11.84 kB / 3.217 GB, free: 22.07 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004441/8.041, allocations: 3.841 MB / 3.221 GB, free: 20.33 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05908/8.1, allocations: 28.7 MB / 3.249 GB, free: 9.879 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001612/8.1, allocations: 40.25 kB / 3.249 GB, free: 9.84 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/8.104, allocations: 0.7757 MB / 3.249 GB, free: 9.145 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-05/8.104, allocations: 53.86 kB / 3.249 GB, free: 9.094 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009348/8.105, allocations: 153 kB / 3.25 GB, free: 9.008 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.112e-05/8.105, allocations: 68.44 kB / 3.25 GB, free: 8.953 MB / 1.717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.723e-05/8.105, allocations: 49.31 kB / 3.25 GB, free: 8.918 MB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/8.126, allocations: 11.95 MB / 3.261 GB, free: 15.36 MB / 1.733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0105/8.136, allocations: 3.121 MB / 3.264 GB, free: 13.14 MB / 1.733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006373/8.143, allocations: 128.2 kB / 3.265 GB, free: 13.08 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0144/8.157, allocations: 0.6119 MB / 3.265 GB, free: 12.54 MB / 1.733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001555/8.159, allocations: 406.8 kB / 3.266 GB, free: 12.22 MB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001383/8.16, allocations: 257.6 kB / 3.266 GB, free: 12.01 MB / 1.733 GB Notification: Performance of sorting global known variables: time 0.02948/8.19, allocations: 11.7 MB / 3.277 GB, free: 4.199 MB / 1.733 GB Notification: Performance of sort global known variables: time 5.71e-07/8.19, allocations: 0 / 3.277 GB, free: 4.199 MB / 1.733 GB Notification: Performance of remove unused functions: time 0.02398/8.214, allocations: 5.289 MB / 3.282 GB, free: 15.36 MB / 1.748 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.01654/8.23, allocations: 4.706 MB / 3.287 GB, free: 11.23 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.0135/8.244, allocations: 5.502 MB / 3.292 GB, free: 7.633 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-05/8.244, allocations: 10.62 kB / 3.292 GB, free: 7.625 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.005302/8.249, allocations: 2.585 MB / 3.295 GB, free: 5.977 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1768/8.426, allocations: 12.42 MB / 3.307 GB, free: 12.89 MB / 1.764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06172/8.488, allocations: 34.28 MB / 3.34 GB, free: 13.48 MB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01288/8.501, allocations: 7.817 MB / 3.348 GB, free: 6.141 MB / 1.795 GB Notification: Performance of simCode: alias equations: time 0.01728/8.518, allocations: 3.236 MB / 3.351 GB, free: 3.043 MB / 1.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007294/8.526, allocations: 1.579 MB / 3.353 GB, free: 1.496 MB / 1.795 GB Notification: Performance of SimCode: time 1.613e-06/8.526, allocations: 0.9844 kB / 3.353 GB, free: 1.496 MB / 1.795 GB Notification: Performance of Templates: time 1.343/9.869, allocations: 480.7 MB / 3.822 GB, free: 1.13 GB / 2.108 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