Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001718/0.001718, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002037/0.002037, allocations: 165.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.905/2.905, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.969e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.949/2.949, allocations: 1.249 GB / 2.231 GB, free: 11.21 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 1.586/4.535, allocations: 311.2 MB / 2.534 GB, free: 76.71 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06358/4.599, allocations: 1.692 MB / 2.536 GB, free: 76.71 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0452/4.644, allocations: 13.6 MB / 2.549 GB, free: 75.59 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.118/4.762, allocations: 34.76 MB / 2.583 GB, free: 62.72 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.05557/4.818, allocations: 21.11 MB / 2.604 GB, free: 48.51 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.08361/4.901, allocations: 58.67 MB / 2.661 GB, free: 14.36 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04959/4.951, allocations: 16.75 MB / 2.678 GB, free: 3.098 MB / 1.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1215/5.072, allocations: 36.83 MB / 2.714 GB, free: 1.754 MB / 1.701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04558/5.118, allocations: 15.98 MB / 2.729 GB, free: 3.188 MB / 1.717 GB Notification: Performance of NFPackage.collectConstants: time 0.009022/5.127, allocations: 2.129 MB / 2.731 GB, free: 1.059 MB / 1.717 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0507/5.178, allocations: 15.72 MB / 2.747 GB, free: 2.125 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.01291/5.19, allocations: 5.232 MB / 2.752 GB, free: 13.19 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.02624/5.217, allocations: 7.335 MB / 2.759 GB, free: 6.133 MB / 1.748 GB Notification: Performance of NFConvertDAE.convert: time 0.09766/5.314, allocations: 42.46 MB / 2.8 GB, free: 13.39 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/5.314, allocations: 0 / 2.8 GB, free: 13.39 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.714e-06/5.314, allocations: 0 / 2.8 GB, free: 13.39 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001315/5.316, allocations: 3.938 kB / 2.8 GB, free: 13.39 MB / 1.795 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.06423/5.38, allocations: 21.34 MB / 2.821 GB, free: 8.262 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/5.38, allocations: 8.031 kB / 2.821 GB, free: 8.254 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/5.391, allocations: 2.375 MB / 2.824 GB, free: 5.867 MB / 1.811 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04358/5.434, allocations: 18.94 MB / 2.842 GB, free: 3.523 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/5.436, allocations: 0.9767 MB / 2.843 GB, free: 2.547 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004005/5.44, allocations: 1.288 MB / 2.844 GB, free: 1.262 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0448/5.484, allocations: 17.07 MB / 2.861 GB, free: 14.95 MB / 1.857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005507/5.485, allocations: 41.98 kB / 2.861 GB, free: 14.93 MB / 1.857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003276/5.488, allocations: 0.5352 MB / 2.861 GB, free: 14.39 MB / 1.857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004151/5.489, allocations: 349 kB / 2.862 GB, free: 14.05 MB / 1.857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/5.512, allocations: 10.08 MB / 2.872 GB, free: 4.211 MB / 1.857 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.1022/5.614, allocations: 56.82 MB / 2.927 GB, free: 11.54 MB / 1.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008741/5.623, allocations: 4.34 MB / 2.931 GB, free: 7.02 MB / 1.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/5.628, allocations: 2.299 MB / 2.934 GB, free: 4.648 MB / 1.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08852/5.717, allocations: 22.9 MB / 2.956 GB, free: 13.79 MB / 1.951 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/5.717, allocations: 112.7 kB / 2.956 GB, free: 13.68 MB / 1.951 GB Notification: Performance of pre-optimization done (n=412): time 1.373e-05/5.717, allocations: 0 / 2.956 GB, free: 13.68 MB / 1.951 GB Notification: Performance of matching and sorting (n=412): time 0.02108/5.738, allocations: 6.682 MB / 2.963 GB, free: 7.047 MB / 1.951 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006353/5.739, allocations: 0.7853 MB / 2.963 GB, free: 6.09 MB / 1.951 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03404/5.773, allocations: 12.01 MB / 2.975 GB, free: 10.18 MB / 1.967 GB Notification: Performance of collectPreVariables (initialization): time 0.001661/5.774, allocations: 141.6 kB / 2.975 GB, free: 10.03 MB / 1.967 GB Notification: Performance of collectInitialEqns (initialization): time 0.01297/5.787, allocations: 8.745 MB / 2.984 GB, free: 1.273 MB / 1.967 GB Notification: Performance of collectInitialBindings (initialization): time 0.003302/5.791, allocations: 1.513 MB / 2.985 GB, free: 15.78 MB / 1.982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004445/5.795, allocations: 1.484 MB / 2.987 GB, free: 14.29 MB / 1.982 GB Notification: Performance of setup shared object (initialization): time 0.0001652/5.795, allocations: 309.1 kB / 2.987 GB, free: 13.98 MB / 1.982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004063/5.799, allocations: 2.085 MB / 2.989 GB, free: 11.9 MB / 1.982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/5.811, allocations: 9.605 MB / 2.998 GB, free: 15.94 MB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/5.823, allocations: 7.14 MB / 3.005 GB, free: 8.039 MB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/5.823, allocations: 20 kB / 3.005 GB, free: 8.02 MB / 1.998 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02311/5.846, allocations: 8.065 MB / 3.013 GB, free: 448 kB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/5.846, allocations: 42.97 kB / 3.013 GB, free: 408 kB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/5.846, allocations: 80 kB / 3.013 GB, free: 328 kB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/5.847, allocations: 116 kB / 3.014 GB, free: 212 kB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005802/5.852, allocations: 1.46 MB / 3.015 GB, free: 14.86 MB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000207/5.853, allocations: 169.2 kB / 3.015 GB, free: 14.73 MB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/5.863, allocations: 0.7938 MB / 3.016 GB, free: 13.93 MB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002038/5.865, allocations: 387.9 kB / 3.016 GB, free: 13.55 MB / 2.014 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.01063/5.876, allocations: 3.592 MB / 3.02 GB, free: 10.06 MB / 2.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005666/5.882, allocations: 1.351 MB / 3.021 GB, free: 8.703 MB / 2.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/5.899, allocations: 7.447 MB / 3.028 GB, free: 1.363 MB / 2.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001865/5.899, allocations: 83.94 kB / 3.028 GB, free: 1.281 MB / 2.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/5.9, allocations: 8 kB / 3.028 GB, free: 1.273 MB / 2.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005703/5.905, allocations: 3.891 MB / 3.032 GB, free: 13.09 MB / 2.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05476/5.96, allocations: 25.39 MB / 3.057 GB, free: 3.621 MB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.892e-05/5.96, allocations: 32 kB / 3.057 GB, free: 3.59 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/5.963, allocations: 0.772 MB / 3.058 GB, free: 2.867 MB / 2.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/5.963, allocations: 52 kB / 3.058 GB, free: 2.816 MB / 2.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004451/5.964, allocations: 156 kB / 3.058 GB, free: 2.664 MB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.147e-05/5.964, allocations: 70.97 kB / 3.058 GB, free: 2.609 MB / 2.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.402e-05/5.964, allocations: 48.53 kB / 3.058 GB, free: 2.574 MB / 2.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6608/6.625, allocations: 11.7 MB / 3.07 GB, free: 1.069 GB / 2.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006658/6.631, allocations: 2.235 MB / 3.072 GB, free: 1.068 GB / 2.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003442/6.635, allocations: 154 kB / 3.072 GB, free: 1.068 GB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008812/6.644, allocations: 167.4 kB / 3.072 GB, free: 1.068 GB / 2.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009915/6.645, allocations: 416.4 kB / 3.072 GB, free: 1.068 GB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008456/6.645, allocations: 259.9 kB / 3.073 GB, free: 1.068 GB / 2.045 GB Notification: Performance of sorting global known variables: time 0.01861/6.664, allocations: 8.142 MB / 3.081 GB, free: 1.065 GB / 2.045 GB Notification: Performance of sort global known variables: time 2.9e-07/6.664, allocations: 0 / 3.081 GB, free: 1.065 GB / 2.045 GB Notification: Performance of remove unused functions: time 0.02166/6.686, allocations: 5.896 MB / 3.086 GB, free: 1.065 GB / 2.045 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.01279/6.699, allocations: 4.634 MB / 3.091 GB, free: 1.064 GB / 2.045 GB Notification: Performance of simCode: created initialization part: time 0.01282/6.711, allocations: 5.52 MB / 3.096 GB, free: 1.062 GB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-05/6.711, allocations: 8.031 kB / 3.096 GB, free: 1.062 GB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005454/6.717, allocations: 2.479 MB / 3.099 GB, free: 1.062 GB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0351/6.752, allocations: 5.895 MB / 3.104 GB, free: 1.06 GB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05325/6.805, allocations: 27.67 MB / 3.132 GB, free: 1.047 GB / 2.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01371/6.819, allocations: 7.545 MB / 3.139 GB, free: 1.045 GB / 2.045 GB Notification: Performance of simCode: alias equations: time 0.01222/6.831, allocations: 2.587 MB / 3.141 GB, free: 1.045 GB / 2.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00327/6.834, allocations: 0.8353 MB / 3.142 GB, free: 1.045 GB / 2.045 GB Notification: Performance of SimCode: time 2.034e-06/6.834, allocations: 0 / 3.142 GB, free: 1.045 GB / 2.045 GB Notification: Performance of Templates: time 0.3786/7.213, allocations: 258.8 MB / 3.395 GB, free: 0.8213 GB / 2.045 GB " [Timeout remaining time 293] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 25.91071754321456]