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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.322/3.322, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.085e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.144/3.144, allocations: 1.25 GB / 2.128 GB, free: 96.71 MB / 1.526 GB Notification: Performance of NFInst.instExpressions: time 0.3791/3.523, allocations: 313.8 MB / 2.434 GB, free: 64.07 MB / 1.526 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04974/3.573, allocations: 1.713 MB / 2.436 GB, free: 64.06 MB / 1.526 GB Notification: Performance of NFTyping.typeComponents: time 0.04176/3.615, allocations: 13.63 MB / 2.449 GB, free: 56.3 MB / 1.526 GB Notification: Performance of NFTyping.typeBindings: time 0.09649/3.711, allocations: 34.9 MB / 2.483 GB, free: 34.72 MB / 1.526 GB Notification: Performance of NFTyping.typeClassSections: time 0.04928/3.76, allocations: 22.33 MB / 2.505 GB, free: 18.85 MB / 1.526 GB Notification: Performance of NFFlatten.flatten: time 0.08995/3.85, allocations: 58.87 MB / 2.562 GB, free: 12.05 MB / 1.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04693/3.897, allocations: 16.81 MB / 2.579 GB, free: 11.82 MB / 1.589 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1184/4.016, allocations: 37.18 MB / 2.615 GB, free: 8.695 MB / 1.62 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04059/4.056, allocations: 16.14 MB / 2.631 GB, free: 9.914 MB / 1.635 GB Notification: Performance of NFPackage.collectConstants: time 0.009924/4.066, allocations: 2.207 MB / 2.633 GB, free: 7.707 MB / 1.635 GB Notification: Performance of NFFlatten.collectFunctions: time 0.052/4.118, allocations: 15.81 MB / 2.648 GB, free: 8.562 MB / 1.651 GB Notification: Performance of NFScalarize.scalarize: time 0.01092/4.129, allocations: 5.369 MB / 2.654 GB, free: 3.484 MB / 1.651 GB Notification: Performance of NFVerifyModel.verify: time 0.02426/4.153, allocations: 7.576 MB / 2.661 GB, free: 12.2 MB / 1.667 GB Notification: Performance of NFConvertDAE.convert: time 0.09613/4.249, allocations: 43.53 MB / 2.704 GB, free: 2.121 MB / 1.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/4.249, allocations: 0 / 2.704 GB, free: 2.121 MB / 1.698 GB Notification: Performance of FrontEnd: time 1.824e-06/4.249, allocations: 0 / 2.704 GB, free: 2.121 MB / 1.698 GB Notification: Performance of Transformations before backend: time 0.001188/4.251, allocations: 0 / 2.704 GB, free: 2.121 MB / 1.698 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.0662/4.317, allocations: 21.79 MB / 2.725 GB, free: 12.42 MB / 1.729 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/4.317, allocations: 12.03 kB / 2.725 GB, free: 12.41 MB / 1.729 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/4.331, allocations: 3.513 MB / 2.728 GB, free: 8.887 MB / 1.729 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0521/4.383, allocations: 21.27 MB / 2.749 GB, free: 3.891 MB / 1.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001598/4.385, allocations: 1.012 MB / 2.75 GB, free: 2.879 MB / 1.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005636/4.391, allocations: 1.397 MB / 2.751 GB, free: 1.484 MB / 1.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05049/4.441, allocations: 17.06 MB / 2.768 GB, free: 15.08 MB / 1.776 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006115/4.442, allocations: 47.52 kB / 2.768 GB, free: 15.04 MB / 1.776 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00381/4.445, allocations: 0.5377 MB / 2.769 GB, free: 14.5 MB / 1.776 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004754/4.446, allocations: 347.9 kB / 2.769 GB, free: 14.16 MB / 1.776 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/4.472, allocations: 10.08 MB / 2.779 GB, free: 4.117 MB / 1.776 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.5624/5.034, allocations: 58.33 MB / 2.836 GB, free: 0.9084 GB / 1.807 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00645/5.041, allocations: 4.345 MB / 2.84 GB, free: 0.9077 GB / 1.807 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/5.044, allocations: 2.283 MB / 2.842 GB, free: 0.9075 GB / 1.807 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07349/5.117, allocations: 22.93 MB / 2.865 GB, free: 0.9074 GB / 1.807 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/5.117, allocations: 119.9 kB / 2.865 GB, free: 0.9074 GB / 1.807 GB Notification: Performance of pre-optimization done (n=412): time 1.395e-05/5.117, allocations: 0 / 2.865 GB, free: 0.9074 GB / 1.807 GB Notification: Performance of matching and sorting (n=412): time 0.01631/5.134, allocations: 6.888 MB / 2.872 GB, free: 0.9055 GB / 1.807 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/5.134, allocations: 0.7934 MB / 2.872 GB, free: 0.9046 GB / 1.807 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03104/5.165, allocations: 12.48 MB / 2.884 GB, free: 0.9004 GB / 1.807 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/5.166, allocations: 167.3 kB / 2.885 GB, free: 0.9002 GB / 1.807 GB Notification: Performance of collectInitialEqns (initialization): time 0.00865/5.175, allocations: 8.856 MB / 2.893 GB, free: 0.895 GB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.002146/5.177, allocations: 1.519 MB / 2.895 GB, free: 0.8938 GB / 1.807 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00387/5.181, allocations: 1.746 MB / 2.896 GB, free: 0.893 GB / 1.807 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/5.181, allocations: 308.3 kB / 2.897 GB, free: 0.8927 GB / 1.807 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/5.185, allocations: 2.232 MB / 2.899 GB, free: 0.8919 GB / 1.807 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009044/5.194, allocations: 11.39 MB / 2.91 GB, free: 0.8801 GB / 1.807 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/5.205, allocations: 8.329 MB / 2.918 GB, free: 0.8737 GB / 1.807 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/5.205, allocations: 31.75 kB / 2.918 GB, free: 0.8737 GB / 1.807 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02378/5.229, allocations: 9.422 MB / 2.927 GB, free: 0.8698 GB / 1.807 GB Notification: Performance of prepare postOptimizeDAE: time 9.862e-05/5.229, allocations: 53.03 kB / 2.927 GB, free: 0.8698 GB / 1.807 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/5.229, allocations: 109.6 kB / 2.928 GB, free: 0.8698 GB / 1.807 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/5.229, allocations: 158.7 kB / 2.928 GB, free: 0.8698 GB / 1.807 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006026/5.235, allocations: 1.699 MB / 2.929 GB, free: 0.8696 GB / 1.807 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002239/5.235, allocations: 227.1 kB / 2.93 GB, free: 0.8696 GB / 1.807 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/5.246, allocations: 0.9525 MB / 2.931 GB, free: 0.869 GB / 1.807 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/5.248, allocations: 461.5 kB / 2.931 GB, free: 0.8689 GB / 1.807 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * 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 (982): * Single equations (assignments): 982 * 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.008949/5.257, allocations: 3.745 MB / 2.935 GB, free: 0.8668 GB / 1.807 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005149/5.262, allocations: 1.513 MB / 2.936 GB, free: 0.866 GB / 1.807 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/5.278, allocations: 7.464 MB / 2.943 GB, free: 0.8631 GB / 1.807 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002321/5.278, allocations: 84.25 kB / 2.943 GB, free: 0.8631 GB / 1.807 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/5.278, allocations: 11.84 kB / 2.944 GB, free: 0.8631 GB / 1.807 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005112/5.283, allocations: 3.881 MB / 2.947 GB, free: 0.8605 GB / 1.807 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0483/5.331, allocations: 25.61 MB / 2.972 GB, free: 0.8426 GB / 1.807 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.904e-05/5.331, allocations: 32 kB / 2.972 GB, free: 0.8426 GB / 1.807 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/5.335, allocations: 0.7691 MB / 2.973 GB, free: 0.8418 GB / 1.807 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.121e-05/5.335, allocations: 52 kB / 2.973 GB, free: 0.8418 GB / 1.807 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007851/5.335, allocations: 159.6 kB / 2.973 GB, free: 0.8416 GB / 1.807 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.236e-05/5.336, allocations: 71.78 kB / 2.973 GB, free: 0.8416 GB / 1.807 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-05/5.336, allocations: 47.75 kB / 2.973 GB, free: 0.8415 GB / 1.807 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01757/5.353, allocations: 11.85 MB / 2.985 GB, free: 0.8294 GB / 1.807 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006942/5.36, allocations: 2.335 MB / 2.987 GB, free: 0.8271 GB / 1.807 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00484/5.365, allocations: 148.3 kB / 2.987 GB, free: 0.8269 GB / 1.807 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009646/5.375, allocations: 172.7 kB / 2.988 GB, free: 0.8268 GB / 1.807 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/5.376, allocations: 427.2 kB / 2.988 GB, free: 0.8264 GB / 1.807 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008429/5.377, allocations: 259.8 kB / 2.988 GB, free: 0.8261 GB / 1.807 GB Notification: Performance of sorting global known variables: time 0.01911/5.396, allocations: 8.397 MB / 2.996 GB, free: 0.818 GB / 1.807 GB Notification: Performance of sort global known variables: time 4.61e-07/5.396, allocations: 0 / 2.996 GB, free: 0.818 GB / 1.807 GB Notification: Performance of remove unused functions: time 0.02159/5.417, allocations: 5.999 MB / 3.002 GB, free: 0.8121 GB / 1.807 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.01113/5.428, allocations: 4.629 MB / 3.007 GB, free: 0.8084 GB / 1.807 GB Notification: Performance of simCode: created initialization part: time 0.0107/5.439, allocations: 5.939 MB / 3.013 GB, free: 0.8027 GB / 1.807 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-05/5.439, allocations: 8 kB / 3.013 GB, free: 0.8027 GB / 1.807 GB Notification: Performance of simCode: created simulation system equations: time 0.00426/5.443, allocations: 2.475 MB / 3.015 GB, free: 0.8003 GB / 1.807 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03425/5.478, allocations: 5.84 MB / 3.021 GB, free: 0.795 GB / 1.807 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05006/5.528, allocations: 28.59 MB / 3.049 GB, free: 0.7665 GB / 1.807 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01577/5.543, allocations: 7.658 MB / 3.056 GB, free: 0.759 GB / 1.807 GB Notification: Performance of simCode: alias equations: time 0.01373/5.557, allocations: 2.616 MB / 3.059 GB, free: 0.7566 GB / 1.807 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004066/5.561, allocations: 0.8635 MB / 3.06 GB, free: 0.7557 GB / 1.807 GB Notification: Performance of SimCode: time 2.805e-06/5.561, allocations: 0 / 3.06 GB, free: 0.7557 GB / 1.807 GB Notification: Performance of Templates: time 0.3575/5.919, allocations: 260.2 MB / 3.314 GB, free: 0.5048 GB / 1.807 GB " [Timeout remaining time 294] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.345814385917038]