Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001475/0.001475, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001668/0.001668, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 66.95 kB / 0.814 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2951, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.493/3.788, allocations: 1.349 GB / 2.3 GB, free: 77.45 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.3938/4.182, allocations: 330.5 MB / 2.623 GB, free: 14.84 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05076/4.232, allocations: 1.161 MB / 2.624 GB, free: 13.68 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.04214/4.275, allocations: 12.96 MB / 2.636 GB, free: 0.6328 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.1086/4.383, allocations: 32.17 MB / 2.668 GB, free: 356 kB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 1.244/5.628, allocations: 18.87 MB / 2.686 GB, free: 22.96 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.1015/5.729, allocations: 56.59 MB / 2.741 GB, free: 22.8 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06706/5.796, allocations: 22.25 MB / 2.763 GB, free: 35.95 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07067/5.867, allocations: 24.77 MB / 2.787 GB, free: 35.64 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04528/5.912, allocations: 17.59 MB / 2.805 GB, free: 32.04 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.01123/5.924, allocations: 2.054 MB / 2.807 GB, free: 32.04 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05301/5.977, allocations: 17.9 MB / 2.824 GB, free: 32.03 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.01167/5.988, allocations: 4.724 MB / 2.829 GB, free: 31.31 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.03025/6.019, allocations: 10.86 MB / 2.839 GB, free: 28.43 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.08859/6.107, allocations: 41.09 MB / 2.879 GB, free: 25.36 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/6.107, allocations: 0 / 2.879 GB, free: 25.36 MB / 1.623 GB Notification: Performance of FrontEnd: time 3.366e-06/6.107, allocations: 5.25 kB / 2.879 GB, free: 25.36 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.001522/6.109, allocations: 0 / 2.879 GB, free: 25.36 MB / 1.623 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.07333/6.182, allocations: 20.35 MB / 2.899 GB, free: 16.61 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/6.182, allocations: 8.062 kB / 2.899 GB, free: 16.61 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/6.194, allocations: 2.186 MB / 2.901 GB, free: 15.54 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05038/6.244, allocations: 18.27 MB / 2.919 GB, free: 7.23 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001422/6.246, allocations: 0.9454 MB / 2.92 GB, free: 6.68 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005928/6.252, allocations: 1.257 MB / 2.921 GB, free: 5.828 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05223/6.304, allocations: 14.09 MB / 2.935 GB, free: 11.74 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009971/6.305, allocations: 37.66 kB / 2.935 GB, free: 11.73 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005682/6.311, allocations: 0.515 MB / 2.936 GB, free: 11.6 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005694/6.311, allocations: 338.5 kB / 2.936 GB, free: 11.28 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/6.336, allocations: 9.688 MB / 2.946 GB, free: 5.387 MB / 1.639 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.1113/6.447, allocations: 72.19 MB / 3.016 GB, free: 2.977 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007869/6.455, allocations: 4.559 MB / 3.02 GB, free: 14.24 MB / 1.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/6.459, allocations: 2.433 MB / 3.023 GB, free: 11.75 MB / 1.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08875/6.548, allocations: 51.66 MB / 3.073 GB, free: 0.7812 MB / 1.764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/6.548, allocations: 121.5 kB / 3.073 GB, free: 0.668 MB / 1.764 GB Notification: Performance of pre-optimization done (n=412): time 7.834e-06/6.548, allocations: 0 / 3.073 GB, free: 0.668 MB / 1.764 GB Notification: Performance of matching and sorting (n=412): time 0.02115/6.569, allocations: 6.955 MB / 3.08 GB, free: 9.789 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004209/6.57, allocations: 0.7922 MB / 3.081 GB, free: 8.828 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04566/6.615, allocations: 16.2 MB / 3.097 GB, free: 8.766 MB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001698/6.617, allocations: 137.7 kB / 3.097 GB, free: 8.625 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.01294/6.63, allocations: 8.212 MB / 3.105 GB, free: 408 kB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003026/6.633, allocations: 1.459 MB / 3.106 GB, free: 14.95 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003929/6.637, allocations: 1.416 MB / 3.108 GB, free: 13.53 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 0.0001305/6.637, allocations: 305.1 kB / 3.108 GB, free: 13.23 MB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/6.641, allocations: 2.011 MB / 3.11 GB, free: 11.21 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007195/6.648, allocations: 4.935 MB / 3.115 GB, free: 5.113 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/6.659, allocations: 6.682 MB / 3.121 GB, free: 13.79 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.143e-05/6.659, allocations: 20 kB / 3.121 GB, free: 13.77 MB / 1.826 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02315/6.682, allocations: 7.949 MB / 3.129 GB, free: 6.281 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 8.824e-05/6.682, allocations: 36 kB / 3.129 GB, free: 6.246 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/6.682, allocations: 72 kB / 3.129 GB, free: 6.176 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/6.682, allocations: 105 kB / 3.129 GB, free: 6.074 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00541/6.688, allocations: 1.377 MB / 3.131 GB, free: 4.801 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001676/6.688, allocations: 149 kB / 3.131 GB, free: 4.684 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01344/6.701, allocations: 1.242 MB / 3.132 GB, free: 3.434 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001916/6.703, allocations: 375.8 kB / 3.132 GB, free: 3.066 MB / 1.826 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * 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.01007/6.714, allocations: 3.398 MB / 3.136 GB, free: 15.77 MB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006708/6.72, allocations: 1.62 MB / 3.137 GB, free: 14.13 MB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/6.739, allocations: 7.538 MB / 3.145 GB, free: 6.816 MB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002439/6.739, allocations: 79.94 kB / 3.145 GB, free: 6.738 MB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-05/6.739, allocations: 8 kB / 3.145 GB, free: 6.73 MB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005405/6.745, allocations: 3.846 MB / 3.148 GB, free: 2.586 MB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06157/6.806, allocations: 28.46 MB / 3.176 GB, free: 6 MB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.849e-05/6.806, allocations: 32 kB / 3.176 GB, free: 5.969 MB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/6.81, allocations: 0.7668 MB / 3.177 GB, free: 5.25 MB / 1.873 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.296e-05/6.81, allocations: 54.81 kB / 3.177 GB, free: 5.199 MB / 1.873 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000631/6.81, allocations: 159.9 kB / 3.177 GB, free: 5.043 MB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.377e-05/6.81, allocations: 66.75 kB / 3.177 GB, free: 4.988 MB / 1.873 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.623e-05/6.81, allocations: 58.59 kB / 3.177 GB, free: 4.949 MB / 1.873 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/6.831, allocations: 11.92 MB / 3.189 GB, free: 8.477 MB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01034/6.841, allocations: 2.817 MB / 3.192 GB, free: 5.617 MB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005224/6.847, allocations: 163.6 kB / 3.192 GB, free: 5.457 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01132/6.858, allocations: 211.6 kB / 3.192 GB, free: 5.25 MB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/6.859, allocations: 402 kB / 3.193 GB, free: 4.883 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007804/6.86, allocations: 259.8 kB / 3.193 GB, free: 4.629 MB / 1.889 GB Notification: Performance of sorting global known variables: time 0.02884/6.889, allocations: 11.54 MB / 3.204 GB, free: 9.172 MB / 1.904 GB Notification: Performance of sort global known variables: time 8.31e-07/6.889, allocations: 0 / 3.204 GB, free: 9.172 MB / 1.904 GB Notification: Performance of remove unused functions: time 0.02499/6.914, allocations: 5.281 MB / 3.209 GB, free: 3.883 MB / 1.904 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 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.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.01601/6.93, allocations: 4.538 MB / 3.214 GB, free: 15.82 MB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.01206/6.942, allocations: 5.507 MB / 3.219 GB, free: 10.61 MB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 5.405e-05/6.942, allocations: 11.09 kB / 3.219 GB, free: 10.6 MB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004915/6.947, allocations: 2.573 MB / 3.222 GB, free: 8.184 MB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05509/7.002, allocations: 9.959 MB / 3.231 GB, free: 14.64 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0609/7.063, allocations: 27.39 MB / 3.258 GB, free: 2.91 MB / 1.951 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01511/7.078, allocations: 7.426 MB / 3.265 GB, free: 11.45 MB / 1.967 GB Notification: Performance of simCode: alias equations: time 0.01593/7.094, allocations: 3.165 MB / 3.268 GB, free: 8.371 MB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003649/7.098, allocations: 1.044 MB / 3.269 GB, free: 7.332 MB / 1.967 GB Notification: Performance of SimCode: time 1.152e-06/7.098, allocations: 4 kB / 3.269 GB, free: 7.328 MB / 1.967 GB Notification: Performance of Templates: time 1.544/8.643, allocations: 352 MB / 3.613 GB, free: 1.087 GB / 2.076 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches