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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001777/0.001778, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.002196/0.002196, allocations: 192.5 kB / 17.29 MB, free: 5.863 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 / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.66 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2687, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.814/3.083, allocations: 1.37 GB / 2.389 GB, free: 80.86 MB / 1.436 GB Notification: Performance of NFInst.instExpressions: time 0.3497/3.433, allocations: 334.1 MB / 2.715 GB, free: 12.55 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04045/3.473, allocations: 1.223 MB / 2.716 GB, free: 11.32 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.9066/4.38, allocations: 13.24 MB / 2.729 GB, free: 8.07 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.08058/4.461, allocations: 32.22 MB / 2.76 GB, free: 7.863 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04199/4.503, allocations: 19.81 MB / 2.78 GB, free: 7.648 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.07958/4.582, allocations: 58.21 MB / 2.837 GB, free: 23.36 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04436/4.627, allocations: 23.36 MB / 2.859 GB, free: 20.09 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05324/4.68, allocations: 25 MB / 2.884 GB, free: 19.14 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0352/4.715, allocations: 17.76 MB / 2.901 GB, free: 15.49 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.008813/4.724, allocations: 2.131 MB / 2.903 GB, free: 15.49 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04746/4.772, allocations: 17.97 MB / 2.921 GB, free: 15.46 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01005/4.782, allocations: 4.882 MB / 2.926 GB, free: 14.73 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.02689/4.809, allocations: 11.17 MB / 2.937 GB, free: 11.77 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.07742/4.886, allocations: 42.85 MB / 2.978 GB, free: 0 / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/4.886, allocations: 192 / 2.978 GB, free: 0 / 1.686 GB Notification: Performance of FrontEnd: time 2.495e-06/4.886, allocations: 64 / 2.978 GB, free: 0 / 1.686 GB Notification: Performance of Transformations before backend: time 0.001121/4.887, allocations: 64 / 2.978 GB, free: 0 / 1.686 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.05315/4.94, allocations: 20.94 MB / 2.999 GB, free: 15.89 MB / 1.717 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/4.94, allocations: 8.922 kB / 2.999 GB, free: 15.88 MB / 1.717 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/4.951, allocations: 2.252 MB / 3.001 GB, free: 13.61 MB / 1.717 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03737/4.988, allocations: 18.92 MB / 3.019 GB, free: 1.695 MB / 1.717 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000745/4.989, allocations: 0.9762 MB / 3.02 GB, free: 1.129 MB / 1.717 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00352/4.992, allocations: 1.287 MB / 3.022 GB, free: 264 kB / 1.717 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/5.027, allocations: 14.62 MB / 3.036 GB, free: 3.926 MB / 1.732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/5.028, allocations: 45.84 kB / 3.036 GB, free: 3.902 MB / 1.732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001954/5.03, allocations: 0.5312 MB / 3.037 GB, free: 3.371 MB / 1.732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002922/5.03, allocations: 351 kB / 3.037 GB, free: 3.031 MB / 1.732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/5.05, allocations: 10.1 MB / 3.047 GB, free: 9.172 MB / 1.748 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.09221/5.143, allocations: 76.56 MB / 3.122 GB, free: 9.895 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/5.15, allocations: 4.56 MB / 3.126 GB, free: 5.16 MB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/5.153, allocations: 2.435 MB / 3.128 GB, free: 2.66 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08362/5.237, allocations: 51.67 MB / 3.179 GB, free: 7.688 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/5.237, allocations: 126.9 kB / 3.179 GB, free: 7.566 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 8.556e-06/5.237, allocations: 4 kB / 3.179 GB, free: 7.562 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.01627/5.253, allocations: 6.987 MB / 3.186 GB, free: 0.6406 MB / 1.889 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003095/5.253, allocations: 0.791 MB / 3.187 GB, free: 15.68 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02867/5.282, allocations: 16.68 MB / 3.203 GB, free: 15.1 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00155/5.284, allocations: 141.7 kB / 3.203 GB, free: 14.95 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.009958/5.294, allocations: 8.571 MB / 3.211 GB, free: 6.367 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002754/5.297, allocations: 1.462 MB / 3.213 GB, free: 4.918 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/5.3, allocations: 1.487 MB / 3.214 GB, free: 3.422 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001178/5.3, allocations: 301.1 kB / 3.214 GB, free: 3.125 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003596/5.303, allocations: 2.085 MB / 3.217 GB, free: 1.039 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/5.31, allocations: 5.288 MB / 3.222 GB, free: 10.45 MB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008633/5.318, allocations: 7.127 MB / 3.229 GB, free: 2.582 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.313e-05/5.318, allocations: 24 kB / 3.229 GB, free: 2.559 MB / 1.936 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01694/5.335, allocations: 8.366 MB / 3.237 GB, free: 10.71 MB / 1.951 GB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/5.335, allocations: 44.92 kB / 3.237 GB, free: 10.67 MB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-05/5.335, allocations: 80 kB / 3.237 GB, free: 10.59 MB / 1.951 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/5.336, allocations: 123.6 kB / 3.237 GB, free: 10.48 MB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004498/5.34, allocations: 1.459 MB / 3.238 GB, free: 9.129 MB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001398/5.34, allocations: 170 kB / 3.239 GB, free: 8.996 MB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/5.351, allocations: 1.312 MB / 3.24 GB, free: 7.672 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/5.352, allocations: 399.9 kB / 3.24 GB, free: 7.281 MB / 1.951 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.008008/5.36, allocations: 3.564 MB / 3.244 GB, free: 3.82 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005018/5.365, allocations: 1.671 MB / 3.245 GB, free: 2.129 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/5.38, allocations: 7.568 MB / 3.253 GB, free: 10.74 MB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001519/5.38, allocations: 79.94 kB / 3.253 GB, free: 10.66 MB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/5.38, allocations: 12 kB / 3.253 GB, free: 10.65 MB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004398/5.384, allocations: 3.845 MB / 3.257 GB, free: 6.512 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05119/5.436, allocations: 28.81 MB / 3.285 GB, free: 9.582 MB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/5.436, allocations: 36.16 kB / 3.285 GB, free: 9.547 MB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/5.439, allocations: 0.7826 MB / 3.286 GB, free: 8.816 MB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.104e-05/5.439, allocations: 48 kB / 3.286 GB, free: 8.77 MB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/5.439, allocations: 152 kB / 3.286 GB, free: 8.621 MB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.155e-05/5.439, allocations: 71.59 kB / 3.286 GB, free: 8.562 MB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-05/5.439, allocations: 49.31 kB / 3.286 GB, free: 8.527 MB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/5.456, allocations: 11.96 MB / 3.298 GB, free: 12.01 MB / 2.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008398/5.464, allocations: 2.86 MB / 3.3 GB, free: 9.109 MB / 2.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003788/5.468, allocations: 155.6 kB / 3.301 GB, free: 8.957 MB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00795/5.476, allocations: 251.3 kB / 3.301 GB, free: 8.711 MB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005927/5.477, allocations: 408.1 kB / 3.301 GB, free: 8.336 MB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006226/5.477, allocations: 255.9 kB / 3.301 GB, free: 8.086 MB / 2.014 GB Notification: Performance of sorting global known variables: time 0.02405/5.501, allocations: 11.86 MB / 3.313 GB, free: 12.33 MB / 2.029 GB Notification: Performance of sort global known variables: time 3.51e-07/5.501, allocations: 0 / 3.313 GB, free: 12.33 MB / 2.029 GB Notification: Performance of remove unused functions: time 0.01856/5.52, allocations: 5.366 MB / 3.318 GB, free: 6.957 MB / 2.029 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.011/5.531, allocations: 4.534 MB / 3.323 GB, free: 2.898 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.009797/5.541, allocations: 5.665 MB / 3.328 GB, free: 13.56 MB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 3.11e-05/5.541, allocations: 8 kB / 3.328 GB, free: 13.55 MB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003951/5.545, allocations: 2.584 MB / 3.331 GB, free: 11.13 MB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0452/5.59, allocations: 10.02 MB / 3.34 GB, free: 1.418 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04495/5.635, allocations: 28.28 MB / 3.368 GB, free: 4.785 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009644/5.645, allocations: 7.783 MB / 3.376 GB, free: 12.96 MB / 2.092 GB Notification: Performance of simCode: alias equations: time 0.01209/5.657, allocations: 3.254 MB / 3.379 GB, free: 9.797 MB / 2.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002659/5.659, allocations: 1.081 MB / 3.38 GB, free: 8.719 MB / 2.092 GB Notification: Performance of SimCode: time 7.81e-07/5.659, allocations: 0 / 3.38 GB, free: 8.719 MB / 2.092 GB Notification: Performance of Templates: time 2.797/8.456, allocations: 354.3 MB / 3.726 GB, free: 390.4 MB / 2.186 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 -s gbode -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/jenkins1/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