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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00138/0.00138, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.2 MB / 0.6646 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.89 kB / 0.8125 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5879, allocations: 140.3 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.158/3.746, allocations: 1.349 GB / 2.298 GB, free: 75.39 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.3445/4.09, allocations: 330.5 MB / 2.621 GB, free: 31.4 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04404/4.134, allocations: 1.164 MB / 2.622 GB, free: 30.68 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.0368/4.171, allocations: 12.96 MB / 2.635 GB, free: 19.89 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.08402/4.255, allocations: 32.16 MB / 2.666 GB, free: 8.254 MB / 1.467 GB Notification: Performance of NFTyping.typeClassSections: time 0.04387/4.299, allocations: 18.71 MB / 2.685 GB, free: 7.336 MB / 1.482 GB Notification: Performance of NFFlatten.flatten: time 0.07163/4.371, allocations: 56.52 MB / 2.74 GB, free: 364 kB / 1.529 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03743/4.408, allocations: 22.25 MB / 2.761 GB, free: 10.22 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05063/4.459, allocations: 24.65 MB / 2.786 GB, free: 2.996 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03195/4.491, allocations: 17.57 MB / 2.803 GB, free: 2.594 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.008371/4.499, allocations: 2.055 MB / 2.805 GB, free: 0.5391 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04281/4.542, allocations: 17.74 MB / 2.822 GB, free: 15.5 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.00772/4.55, allocations: 4.725 MB / 2.827 GB, free: 10.83 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02086/4.571, allocations: 10.87 MB / 2.837 GB, free: 15.98 MB / 1.639 GB Notification: Performance of NFConvertDAE.convert: time 0.06544/4.636, allocations: 40.71 MB / 2.877 GB, free: 8.535 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/4.636, allocations: 0 / 2.877 GB, free: 8.535 MB / 1.67 GB Notification: Performance of FrontEnd: time 1.893e-06/4.636, allocations: 0 / 2.877 GB, free: 8.535 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.0009063/4.637, allocations: 4 kB / 2.877 GB, free: 8.531 MB / 1.67 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.04427/4.682, allocations: 20.35 MB / 2.897 GB, free: 4.234 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/4.682, allocations: 12.03 kB / 2.897 GB, free: 4.223 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009015/4.691, allocations: 2.178 MB / 2.899 GB, free: 2.023 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03389/4.725, allocations: 17.09 MB / 2.916 GB, free: 1.227 MB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009201/4.726, allocations: 0.9522 MB / 2.917 GB, free: 280 kB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4724/5.198, allocations: 1.249 MB / 2.918 GB, free: 0.9132 GB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03442/5.232, allocations: 14.09 MB / 2.932 GB, free: 0.9068 GB / 1.701 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006365/5.233, allocations: 48.88 kB / 2.932 GB, free: 0.9068 GB / 1.701 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002246/5.235, allocations: 0.5075 MB / 2.932 GB, free: 0.9064 GB / 1.701 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003989/5.236, allocations: 339 kB / 2.932 GB, free: 0.9064 GB / 1.701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/5.255, allocations: 9.689 MB / 2.942 GB, free: 0.9026 GB / 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.06794/5.323, allocations: 72.78 MB / 3.013 GB, free: 0.8432 GB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/5.329, allocations: 4.573 MB / 3.017 GB, free: 0.8406 GB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/5.331, allocations: 2.435 MB / 3.02 GB, free: 0.8393 GB / 1.701 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07404/5.405, allocations: 51.49 MB / 3.07 GB, free: 0.7962 GB / 1.701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/5.406, allocations: 126.2 kB / 3.07 GB, free: 0.7961 GB / 1.701 GB Notification: Performance of pre-optimization done (n=412): time 6.683e-06/5.406, allocations: 0 / 3.07 GB, free: 0.7961 GB / 1.701 GB Notification: Performance of matching and sorting (n=412): time 0.01456/5.42, allocations: 6.95 MB / 3.077 GB, free: 0.7927 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/5.42, allocations: 0.7953 MB / 3.078 GB, free: 0.7918 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/5.443, allocations: 16.2 MB / 3.094 GB, free: 0.7789 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.001258/5.444, allocations: 141.1 kB / 3.094 GB, free: 0.7788 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.006204/5.45, allocations: 8.348 MB / 3.102 GB, free: 0.7706 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.001773/5.452, allocations: 1.458 MB / 3.103 GB, free: 0.7692 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001976/5.454, allocations: 1.419 MB / 3.105 GB, free: 0.7678 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.859e-05/5.454, allocations: 301.1 kB / 3.105 GB, free: 0.7675 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/5.457, allocations: 2.011 MB / 3.107 GB, free: 0.7656 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004285/5.461, allocations: 4.936 MB / 3.112 GB, free: 0.7596 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006345/5.467, allocations: 6.676 MB / 3.118 GB, free: 0.7522 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.72e-05/5.467, allocations: 20 kB / 3.118 GB, free: 0.7522 GB / 1.701 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01444/5.482, allocations: 7.957 MB / 3.126 GB, free: 0.7445 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/5.482, allocations: 36 kB / 3.126 GB, free: 0.7444 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.248e-05/5.482, allocations: 76 kB / 3.126 GB, free: 0.7444 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.693e-05/5.482, allocations: 104 kB / 3.126 GB, free: 0.7443 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/5.486, allocations: 1.373 MB / 3.128 GB, free: 0.7429 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-05/5.486, allocations: 151.4 kB / 3.128 GB, free: 0.7428 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/5.496, allocations: 1.263 MB / 3.129 GB, free: 0.7415 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/5.498, allocations: 371.9 kB / 3.129 GB, free: 0.7412 GB / 1.701 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.008192/5.506, allocations: 3.397 MB / 3.133 GB, free: 0.7378 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005605/5.512, allocations: 1.617 MB / 3.134 GB, free: 0.7362 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/5.527, allocations: 7.553 MB / 3.142 GB, free: 0.729 GB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001965/5.527, allocations: 83.94 kB / 3.142 GB, free: 0.729 GB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/5.527, allocations: 8 kB / 3.142 GB, free: 0.729 GB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004081/5.531, allocations: 3.844 MB / 3.145 GB, free: 0.7249 GB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04303/5.574, allocations: 28.48 MB / 3.173 GB, free: 0.6967 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-05/5.574, allocations: 32 kB / 3.173 GB, free: 0.6967 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/5.577, allocations: 0.7723 MB / 3.174 GB, free: 0.6959 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.503e-05/5.577, allocations: 52 kB / 3.174 GB, free: 0.6959 GB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/5.577, allocations: 159.8 kB / 3.174 GB, free: 0.6957 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.351e-05/5.577, allocations: 75.72 kB / 3.174 GB, free: 0.6956 GB / 1.701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-05/5.577, allocations: 43.81 kB / 3.174 GB, free: 0.6956 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/5.591, allocations: 11.91 MB / 3.186 GB, free: 0.6834 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006318/5.597, allocations: 2.814 MB / 3.189 GB, free: 0.6806 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003966/5.601, allocations: 163.4 kB / 3.189 GB, free: 0.6805 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00828/5.609, allocations: 211.2 kB / 3.189 GB, free: 0.6803 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007464/5.61, allocations: 402.5 kB / 3.19 GB, free: 0.6799 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005059/5.611, allocations: 259.8 kB / 3.19 GB, free: 0.6796 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.01857/5.629, allocations: 11.56 MB / 3.201 GB, free: 0.6684 GB / 1.701 GB Notification: Performance of sort global known variables: time 4.81e-07/5.629, allocations: 0 / 3.201 GB, free: 0.6684 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.0167/5.646, allocations: 5.283 MB / 3.206 GB, free: 0.6635 GB / 1.701 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.009209/5.655, allocations: 4.531 MB / 3.211 GB, free: 0.6595 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.008985/5.664, allocations: 5.779 MB / 3.216 GB, free: 0.6539 GB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 3.018e-05/5.664, allocations: 8 kB / 3.216 GB, free: 0.6539 GB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.003672/5.668, allocations: 2.574 MB / 3.219 GB, free: 0.6514 GB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04726/5.715, allocations: 10.02 MB / 3.229 GB, free: 0.6423 GB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0372/5.752, allocations: 27.81 MB / 3.256 GB, free: 0.6148 GB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008599/5.761, allocations: 7.429 MB / 3.263 GB, free: 0.6075 GB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.01445/5.775, allocations: 3.163 MB / 3.266 GB, free: 0.6045 GB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003288/5.779, allocations: 1.05 MB / 3.267 GB, free: 0.6035 GB / 1.701 GB Notification: Performance of SimCode: time 6.71e-07/5.779, allocations: 0 / 3.267 GB, free: 0.6035 GB / 1.701 GB Notification: Performance of Templates: time 0.432/6.211, allocations: 355.9 MB / 3.615 GB, free: 264.4 MB / 1.701 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 -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/jenkins/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