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.00127/0.00127, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001396/0.001396, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.2 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.464/2.464, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 68.64 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3588, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.64/3.998, allocations: 1.37 GB / 2.389 GB, free: 82.78 MB / 1.436 GB Notification: Performance of NFInst.instExpressions: time 0.3883/4.387, allocations: 334.1 MB / 2.715 GB, free: 10.66 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05187/4.439, allocations: 1.219 MB / 2.716 GB, free: 9.434 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 1.273/5.712, allocations: 13.25 MB / 2.729 GB, free: 7.355 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1202/5.832, allocations: 32.24 MB / 2.76 GB, free: 7.16 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0632/5.895, allocations: 19.81 MB / 2.78 GB, free: 6.945 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.1068/6.002, allocations: 58.21 MB / 2.837 GB, free: 22.65 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07558/6.078, allocations: 23.36 MB / 2.859 GB, free: 19.39 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07847/6.157, allocations: 25.01 MB / 2.884 GB, free: 18.37 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04942/6.206, allocations: 17.75 MB / 2.901 GB, free: 14.73 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.01305/6.219, allocations: 2.13 MB / 2.903 GB, free: 14.73 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06441/6.284, allocations: 17.98 MB / 2.921 GB, free: 14.66 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01403/6.298, allocations: 4.885 MB / 2.926 GB, free: 13.92 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.03637/6.334, allocations: 11.16 MB / 2.937 GB, free: 10.96 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.1093/6.443, allocations: 43.4 MB / 2.979 GB, free: 0 / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/6.443, allocations: 192 / 2.979 GB, free: 0 / 1.686 GB Notification: Performance of FrontEnd: time 4.659e-06/6.443, allocations: 8.031 kB / 2.979 GB, free: 15.99 MB / 1.701 GB Notification: Performance of Transformations before backend: time 0.001428/6.445, allocations: 0 / 2.979 GB, free: 15.99 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.07524/6.52, allocations: 20.93 MB / 2.999 GB, free: 15.48 MB / 1.717 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/6.52, allocations: 8.922 kB / 2.999 GB, free: 15.47 MB / 1.717 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/6.532, allocations: 2.249 MB / 3.002 GB, free: 13.2 MB / 1.717 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04438/6.576, allocations: 18.92 MB / 3.02 GB, free: 1.285 MB / 1.717 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/6.578, allocations: 0.972 MB / 3.021 GB, free: 0.7227 MB / 1.717 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006524/6.584, allocations: 1.292 MB / 3.022 GB, free: 15.76 MB / 1.732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0546/6.639, allocations: 14.61 MB / 3.037 GB, free: 0.5078 MB / 1.732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009475/6.64, allocations: 46.88 kB / 3.037 GB, free: 496 kB / 1.732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006181/6.646, allocations: 0.5382 MB / 3.037 GB, free: 15.95 MB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005869/6.647, allocations: 342.8 kB / 3.037 GB, free: 15.62 MB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02724/6.674, allocations: 10.1 MB / 3.047 GB, free: 5.758 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.1184/6.792, allocations: 76.55 MB / 3.122 GB, free: 6.484 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/6.801, allocations: 4.559 MB / 3.126 GB, free: 1.75 MB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004061/6.805, allocations: 2.44 MB / 3.129 GB, free: 15.24 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08765/6.893, allocations: 51.67 MB / 3.179 GB, free: 4.27 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/6.893, allocations: 126.3 kB / 3.179 GB, free: 4.152 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 7.865e-06/6.893, allocations: 0 / 3.179 GB, free: 4.152 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.02053/6.914, allocations: 6.998 MB / 3.186 GB, free: 13.22 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004541/6.914, allocations: 0.7908 MB / 3.187 GB, free: 12.27 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04161/6.956, allocations: 16.68 MB / 3.203 GB, free: 11.68 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001596/6.957, allocations: 141.7 kB / 3.203 GB, free: 11.54 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01248/6.97, allocations: 8.57 MB / 3.212 GB, free: 2.953 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002972/6.973, allocations: 1.46 MB / 3.213 GB, free: 1.508 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003594/6.976, allocations: 1.487 MB / 3.215 GB, free: 12 kB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001178/6.977, allocations: 301.1 kB / 3.215 GB, free: 15.71 MB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003632/6.98, allocations: 2.078 MB / 3.217 GB, free: 13.63 MB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007109/6.987, allocations: 5.291 MB / 3.222 GB, free: 7.039 MB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/6.998, allocations: 7.137 MB / 3.229 GB, free: 15.16 MB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-05/6.998, allocations: 23.28 kB / 3.229 GB, free: 15.14 MB / 1.951 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02062/7.018, allocations: 8.375 MB / 3.237 GB, free: 7.281 MB / 1.951 GB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/7.018, allocations: 42.19 kB / 3.237 GB, free: 7.242 MB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/7.019, allocations: 80 kB / 3.237 GB, free: 7.164 MB / 1.951 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/7.019, allocations: 120 kB / 3.238 GB, free: 7.047 MB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005145/7.024, allocations: 1.448 MB / 3.239 GB, free: 5.707 MB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001553/7.024, allocations: 174.5 kB / 3.239 GB, free: 5.57 MB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/7.036, allocations: 1.308 MB / 3.24 GB, free: 4.25 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001639/7.037, allocations: 399.9 kB / 3.241 GB, free: 3.859 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.009501/7.047, allocations: 3.569 MB / 3.244 GB, free: 408 kB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00567/7.053, allocations: 1.667 MB / 3.246 GB, free: 14.71 MB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/7.069, allocations: 7.564 MB / 3.253 GB, free: 7.332 MB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001599/7.069, allocations: 84.59 kB / 3.253 GB, free: 7.25 MB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.335e-05/7.069, allocations: 8 kB / 3.253 GB, free: 7.242 MB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004434/7.074, allocations: 3.852 MB / 3.257 GB, free: 3.094 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05592/7.13, allocations: 28.82 MB / 3.285 GB, free: 6.156 MB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.531e-05/7.13, allocations: 32.94 kB / 3.285 GB, free: 6.125 MB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/7.133, allocations: 0.779 MB / 3.286 GB, free: 5.395 MB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-05/7.133, allocations: 48 kB / 3.286 GB, free: 5.348 MB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005611/7.134, allocations: 155.9 kB / 3.286 GB, free: 5.195 MB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.883e-05/7.134, allocations: 70.52 kB / 3.286 GB, free: 5.141 MB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.154e-05/7.134, allocations: 49.22 kB / 3.286 GB, free: 5.105 MB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02282/7.157, allocations: 11.97 MB / 3.298 GB, free: 8.578 MB / 2.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01149/7.168, allocations: 2.852 MB / 3.301 GB, free: 5.684 MB / 2.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005748/7.174, allocations: 159.6 kB / 3.301 GB, free: 5.527 MB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01174/7.186, allocations: 267.1 kB / 3.301 GB, free: 5.27 MB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/7.187, allocations: 393.9 kB / 3.302 GB, free: 4.91 MB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009614/7.188, allocations: 259.9 kB / 3.302 GB, free: 4.656 MB / 2.014 GB Notification: Performance of sorting global known variables: time 0.03437/7.223, allocations: 11.86 MB / 3.314 GB, free: 8.898 MB / 2.029 GB Notification: Performance of sort global known variables: time 8.82e-07/7.223, allocations: 0 / 3.314 GB, free: 8.898 MB / 2.029 GB Notification: Performance of remove unused functions: time 0.02587/7.249, allocations: 5.363 MB / 3.319 GB, free: 3.527 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.01467/7.263, allocations: 4.526 MB / 3.323 GB, free: 15.47 MB / 2.045 GB Notification: Performance of simCode: created initialization part: time 0.01114/7.274, allocations: 5.665 MB / 3.329 GB, free: 10.13 MB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 3.535e-05/7.275, allocations: 4 kB / 3.329 GB, free: 10.12 MB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004403/7.279, allocations: 2.582 MB / 3.331 GB, free: 7.703 MB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05062/7.33, allocations: 10.02 MB / 3.341 GB, free: 13.99 MB / 2.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05199/7.382, allocations: 28.29 MB / 3.369 GB, free: 1.352 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01406/7.396, allocations: 7.783 MB / 3.376 GB, free: 9.523 MB / 2.092 GB Notification: Performance of simCode: alias equations: time 0.01582/7.412, allocations: 3.249 MB / 3.379 GB, free: 6.363 MB / 2.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004216/7.416, allocations: 1.073 MB / 3.38 GB, free: 5.293 MB / 2.092 GB Notification: Performance of SimCode: time 1.503e-06/7.416, allocations: 0 / 3.38 GB, free: 5.293 MB / 2.092 GB Notification: Performance of Templates: time 1.577/8.992, allocations: 354.3 MB / 3.727 GB, free: 1.12 GB / 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 cvode -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