Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.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.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.001571/0.001571, allocations: 111 kB / 16.41 MB, free: 6.477 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.001557/0.001557, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.91 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.324/4.328, allocations: 1.369 GB / 2.596 GB, free: 44.38 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.753/6.081, allocations: 333.9 MB / 2.922 GB, free: 20.05 MB / 1.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05839/6.139, allocations: 1.222 MB / 2.923 GB, free: 20.05 MB / 1.92 GB Notification: Performance of NFTyping.typeComponents: time 0.04708/6.186, allocations: 13.5 MB / 2.936 GB, free: 20.05 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.119/6.305, allocations: 33.9 MB / 2.969 GB, free: 19.86 MB / 1.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0568/6.362, allocations: 19.85 MB / 2.989 GB, free: 19.7 MB / 1.92 GB Notification: Performance of NFFlatten.flatten: time 0.1119/6.474, allocations: 58.29 MB / 3.046 GB, free: 19.41 MB / 1.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07453/6.549, allocations: 23.34 MB / 3.068 GB, free: 16.16 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07918/6.628, allocations: 25.66 MB / 3.093 GB, free: 15.05 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05268/6.681, allocations: 17.76 MB / 3.111 GB, free: 11.4 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01416/6.695, allocations: 2.13 MB / 3.113 GB, free: 11.4 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06297/6.758, allocations: 17.98 MB / 3.13 GB, free: 11.2 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01314/6.771, allocations: 4.883 MB / 3.135 GB, free: 10.46 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.03713/6.808, allocations: 11.17 MB / 3.146 GB, free: 7.496 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.1036/6.912, allocations: 41.1 MB / 3.186 GB, free: 8.289 MB / 1.936 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/6.912, allocations: 0 / 3.186 GB, free: 8.289 MB / 1.936 GB Notification: Performance of FrontEnd: time 2.945e-06/6.912, allocations: 0 / 3.186 GB, free: 8.289 MB / 1.936 GB Notification: Performance of Transformations before backend: time 0.001686/6.914, allocations: 0 / 3.186 GB, free: 8.289 MB / 1.936 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.07681/6.991, allocations: 21.57 MB / 3.207 GB, free: 13 MB / 1.951 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/6.991, allocations: 10.69 kB / 3.207 GB, free: 13 MB / 1.951 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/7.003, allocations: 2.355 MB / 3.21 GB, free: 11.8 MB / 1.951 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04853/7.052, allocations: 19.02 MB / 3.228 GB, free: 0.5039 MB / 1.951 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001315/7.053, allocations: 0.9775 MB / 3.229 GB, free: 15.93 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005487/7.059, allocations: 1.285 MB / 3.23 GB, free: 15.06 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05166/7.11, allocations: 14.62 MB / 3.245 GB, free: 4.66 MB / 1.967 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007678/7.111, allocations: 49.22 kB / 3.245 GB, free: 4.637 MB / 1.967 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00494/7.116, allocations: 0.5313 MB / 3.245 GB, free: 4.504 MB / 1.967 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005473/7.117, allocations: 351.3 kB / 3.246 GB, free: 4.172 MB / 1.967 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02809/7.145, allocations: 10.1 MB / 3.255 GB, free: 12.54 MB / 1.982 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.1334/7.278, allocations: 76.66 MB / 3.33 GB, free: 13.18 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009201/7.288, allocations: 4.562 MB / 3.335 GB, free: 8.441 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00484/7.292, allocations: 2.443 MB / 3.337 GB, free: 5.934 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09842/7.391, allocations: 51.68 MB / 3.388 GB, free: 10.94 MB / 2.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/7.391, allocations: 123.4 kB / 3.388 GB, free: 10.82 MB / 2.123 GB Notification: Performance of pre-optimization done (n=412): time 2.353e-05/7.391, allocations: 4 kB / 3.388 GB, free: 10.82 MB / 2.123 GB Notification: Performance of matching and sorting (n=412): time 0.02114/7.412, allocations: 7.069 MB / 3.395 GB, free: 3.809 MB / 2.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003682/7.413, allocations: 0.7887 MB / 3.395 GB, free: 2.848 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0453/7.458, allocations: 16.68 MB / 3.412 GB, free: 2.262 MB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/7.46, allocations: 144.9 kB / 3.412 GB, free: 2.117 MB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0165/7.476, allocations: 8.688 MB / 3.42 GB, free: 9.449 MB / 2.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.004217/7.481, allocations: 1.529 MB / 3.422 GB, free: 7.941 MB / 2.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008419/7.489, allocations: 1.5 MB / 3.423 GB, free: 6.434 MB / 2.154 GB Notification: Performance of setup shared object (initialization): time 0.0001434/7.489, allocations: 301.1 kB / 3.424 GB, free: 6.137 MB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005645/7.495, allocations: 2.086 MB / 3.426 GB, free: 4.047 MB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/7.505, allocations: 5.277 MB / 3.431 GB, free: 13.47 MB / 2.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/7.518, allocations: 7.142 MB / 3.438 GB, free: 5.574 MB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/7.518, allocations: 20 kB / 3.438 GB, free: 5.555 MB / 2.17 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02528/7.543, allocations: 8.447 MB / 3.446 GB, free: 13.59 MB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/7.543, allocations: 44.91 kB / 3.446 GB, free: 13.55 MB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/7.543, allocations: 80 kB / 3.446 GB, free: 13.47 MB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/7.544, allocations: 124 kB / 3.446 GB, free: 13.35 MB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006304/7.55, allocations: 1.459 MB / 3.448 GB, free: 12 MB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002622/7.55, allocations: 169.2 kB / 3.448 GB, free: 11.87 MB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01567/7.566, allocations: 1.355 MB / 3.449 GB, free: 10.51 MB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/7.568, allocations: 391.9 kB / 3.45 GB, free: 10.13 MB / 2.186 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.01406/7.582, allocations: 3.565 MB / 3.453 GB, free: 6.66 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008631/7.591, allocations: 1.754 MB / 3.455 GB, free: 4.895 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/7.613, allocations: 7.543 MB / 3.462 GB, free: 13.54 MB / 2.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006665/7.62, allocations: 3.851 MB / 3.466 GB, free: 9.395 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.184e-05/7.62, allocations: 12 kB / 3.466 GB, free: 9.383 MB / 2.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0116/7.632, allocations: 2.819 MB / 3.469 GB, free: 6.531 MB / 2.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00713/7.639, allocations: 131.6 kB / 3.469 GB, free: 6.402 MB / 2.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01301/7.652, allocations: 215.3 kB / 3.469 GB, free: 6.195 MB / 2.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/7.653, allocations: 291.2 kB / 3.469 GB, free: 5.918 MB / 2.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01547/7.669, allocations: 7.625 MB / 3.477 GB, free: 14.42 MB / 2.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02828/7.697, allocations: 11.89 MB / 3.488 GB, free: 2.41 MB / 2.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00563/7.703, allocations: 2.44 MB / 3.491 GB, free: 15.99 MB / 2.232 GB Notification: Performance of sorting global known variables: time 0.03616/7.739, allocations: 11.5 MB / 3.502 GB, free: 4.578 MB / 2.232 GB Notification: Performance of Backend: time 1.192e-06/7.739, allocations: 0 / 3.502 GB, free: 4.578 MB / 2.232 GB Notification: Performance of simCode: created initialization part: time 0.04475/7.784, allocations: 8.768 MB / 3.51 GB, free: 12.57 MB / 2.248 GB Notification: Performance of SimCode: time 0.115/7.899, allocations: 35.59 MB / 3.545 GB, free: 9.422 MB / 2.279 GB Notification: Performance of Templates: time 1.242/9.141, allocations: 353 MB / 3.89 GB, free: 1.427 GB / 2.514 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches