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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 113.2 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 193.2 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] 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=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 0.001958/0.001958, allocations: 63.89 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.587/4.703, allocations: 1.371 GB / 2.634 GB, free: 111.6 MB / 1.764 GB Notification: Performance of NFInst.instExpressions: time 0.3475/5.05, allocations: 334 MB / 2.96 GB, free: 28.62 MB / 1.764 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05691/5.107, allocations: 1.223 MB / 2.961 GB, free: 27.39 MB / 1.764 GB Notification: Performance of NFTyping.typeComponents: time 0.03764/5.145, allocations: 13.25 MB / 2.974 GB, free: 14.06 MB / 1.764 GB Notification: Performance of NFTyping.typeBindings: time 0.1039/5.249, allocations: 32.04 MB / 3.005 GB, free: 13.9 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.05664/5.306, allocations: 19.81 MB / 3.025 GB, free: 10.26 MB / 1.811 GB Notification: Performance of NFFlatten.flatten: time 0.09005/5.396, allocations: 58.07 MB / 3.082 GB, free: 28 kB / 1.857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05326/5.449, allocations: 23.36 MB / 3.104 GB, free: 8.496 MB / 1.889 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07014/5.519, allocations: 27.45 MB / 3.131 GB, free: 12.98 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03758/5.557, allocations: 17.48 MB / 3.148 GB, free: 11.4 MB / 1.936 GB Notification: Performance of NFPackage.collectConstants: time 0.009496/5.566, allocations: 2.129 MB / 3.15 GB, free: 9.27 MB / 1.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04755/5.614, allocations: 17.87 MB / 3.168 GB, free: 7.379 MB / 1.951 GB Notification: Performance of NFScalarize.scalarize: time 0.01041/5.624, allocations: 4.89 MB / 3.173 GB, free: 2.473 MB / 1.951 GB Notification: Performance of NFVerifyModel.verify: time 0.02837/5.653, allocations: 11.19 MB / 3.183 GB, free: 7.234 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 0.09149/5.744, allocations: 41.16 MB / 3.224 GB, free: 13.94 MB / 2.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/5.744, allocations: 0 / 3.224 GB, free: 13.94 MB / 2.014 GB Notification: Performance of FrontEnd: time 1.964e-06/5.744, allocations: 0 / 3.224 GB, free: 13.94 MB / 2.014 GB Notification: Performance of Transformations before backend: time 0.001224/5.745, allocations: 0 / 3.224 GB, free: 13.94 MB / 2.014 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.06246/5.808, allocations: 21.57 MB / 3.245 GB, free: 8.09 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/5.808, allocations: 8.031 kB / 3.245 GB, free: 8.082 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/5.819, allocations: 2.365 MB / 3.247 GB, free: 5.703 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04577/5.864, allocations: 19.04 MB / 3.266 GB, free: 2.566 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/5.866, allocations: 0.97 MB / 3.267 GB, free: 1.594 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004797/5.871, allocations: 1.289 MB / 3.268 GB, free: 312 kB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04254/5.913, allocations: 14.61 MB / 3.282 GB, free: 0.9102 MB / 2.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006255/5.914, allocations: 55.52 kB / 3.282 GB, free: 0.8555 MB / 2.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003466/5.917, allocations: 0.5351 MB / 3.283 GB, free: 328 kB / 2.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.7196/6.637, allocations: 343.3 kB / 3.283 GB, free: 0.9894 GB / 2.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/6.661, allocations: 10.1 MB / 3.293 GB, free: 0.9866 GB / 2.061 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.1085/6.769, allocations: 76.67 MB / 3.368 GB, free: 0.9324 GB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007775/6.777, allocations: 4.559 MB / 3.372 GB, free: 0.9303 GB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004058/6.781, allocations: 2.443 MB / 3.375 GB, free: 0.9292 GB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08102/6.862, allocations: 51.67 MB / 3.425 GB, free: 0.8881 GB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/6.862, allocations: 123.1 kB / 3.425 GB, free: 0.888 GB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 7.885e-06/6.862, allocations: 0 / 3.425 GB, free: 0.888 GB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01974/6.882, allocations: 7.08 MB / 3.432 GB, free: 0.8845 GB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002723/6.883, allocations: 0.7955 MB / 3.433 GB, free: 0.8836 GB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03427/6.917, allocations: 16.68 MB / 3.449 GB, free: 0.8753 GB / 2.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001359/6.918, allocations: 144.2 kB / 3.449 GB, free: 0.8752 GB / 2.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.008697/6.927, allocations: 8.681 MB / 3.458 GB, free: 0.8678 GB / 2.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002299/6.929, allocations: 1.534 MB / 3.459 GB, free: 0.8666 GB / 2.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002901/6.932, allocations: 1.496 MB / 3.461 GB, free: 0.8657 GB / 2.061 GB Notification: Performance of setup shared object (initialization): time 5.251e-05/6.932, allocations: 303.4 kB / 3.461 GB, free: 0.8654 GB / 2.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/6.935, allocations: 2.082 MB / 3.463 GB, free: 0.8644 GB / 2.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005303/6.94, allocations: 5.283 MB / 3.468 GB, free: 0.8595 GB / 2.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007857/6.948, allocations: 7.138 MB / 3.475 GB, free: 0.854 GB / 2.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.493e-05/6.948, allocations: 23.69 kB / 3.475 GB, free: 0.854 GB / 2.061 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0184/6.967, allocations: 8.442 MB / 3.483 GB, free: 0.8498 GB / 2.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/6.967, allocations: 47.47 kB / 3.483 GB, free: 0.8498 GB / 2.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.925e-05/6.967, allocations: 81.31 kB / 3.484 GB, free: 0.8498 GB / 2.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/6.967, allocations: 118.5 kB / 3.484 GB, free: 0.8498 GB / 2.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/6.972, allocations: 1.46 MB / 3.485 GB, free: 0.8495 GB / 2.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001324/6.972, allocations: 177.8 kB / 3.485 GB, free: 0.8494 GB / 2.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/6.984, allocations: 1.351 MB / 3.487 GB, free: 0.8485 GB / 2.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/6.985, allocations: 392 kB / 3.487 GB, free: 0.8484 GB / 2.061 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.009205/6.995, allocations: 3.569 MB / 3.49 GB, free: 0.8462 GB / 2.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006679/7.001, allocations: 1.751 MB / 3.492 GB, free: 0.8453 GB / 2.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/7.019, allocations: 7.569 MB / 3.5 GB, free: 0.8413 GB / 2.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002269/7.019, allocations: 80.75 kB / 3.5 GB, free: 0.8413 GB / 2.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.364e-05/7.019, allocations: 8.25 kB / 3.5 GB, free: 0.8413 GB / 2.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004591/7.024, allocations: 3.843 MB / 3.503 GB, free: 0.8384 GB / 2.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05373/7.078, allocations: 28.81 MB / 3.531 GB, free: 0.8133 GB / 2.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-05/7.078, allocations: 32 kB / 3.532 GB, free: 0.8133 GB / 2.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/7.08, allocations: 0.7723 MB / 3.532 GB, free: 0.8125 GB / 2.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.672e-05/7.08, allocations: 52 kB / 3.532 GB, free: 0.8125 GB / 2.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/7.081, allocations: 152 kB / 3.532 GB, free: 0.8124 GB / 2.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.135e-05/7.081, allocations: 71.72 kB / 3.533 GB, free: 0.8123 GB / 2.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.239e-05/7.081, allocations: 47.81 kB / 3.533 GB, free: 0.8122 GB / 2.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/7.096, allocations: 12.05 MB / 3.544 GB, free: 0.8 GB / 2.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007904/7.103, allocations: 2.932 MB / 3.547 GB, free: 0.7971 GB / 2.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004886/7.108, allocations: 155.7 kB / 3.547 GB, free: 0.7969 GB / 2.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009653/7.118, allocations: 262.9 kB / 3.548 GB, free: 0.7967 GB / 2.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000966/7.119, allocations: 402.7 kB / 3.548 GB, free: 0.7963 GB / 2.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007076/7.12, allocations: 255.9 kB / 3.548 GB, free: 0.796 GB / 2.061 GB Notification: Performance of sorting global known variables: time 0.02479/7.145, allocations: 11.86 MB / 3.56 GB, free: 0.7846 GB / 2.061 GB Notification: Performance of sort global known variables: time 5.91e-07/7.145, allocations: 0 / 3.56 GB, free: 0.7846 GB / 2.061 GB Notification: Performance of remove unused functions: time 0.01937/7.164, allocations: 5.403 MB / 3.565 GB, free: 0.7793 GB / 2.061 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.01143/7.175, allocations: 4.463 MB / 3.569 GB, free: 0.7753 GB / 2.061 GB Notification: Performance of simCode: created initialization part: time 0.009933/7.185, allocations: 5.668 MB / 3.575 GB, free: 0.7698 GB / 2.061 GB Notification: Performance of simCode: created event and clocks part: time 5.326e-05/7.185, allocations: 9.438 kB / 3.575 GB, free: 0.7698 GB / 2.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003967/7.189, allocations: 2.579 MB / 3.578 GB, free: 0.7673 GB / 2.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05232/7.242, allocations: 10 MB / 3.587 GB, free: 0.7581 GB / 2.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04652/7.288, allocations: 28.64 MB / 3.615 GB, free: 0.7297 GB / 2.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009382/7.298, allocations: 7.509 MB / 3.623 GB, free: 0.7224 GB / 2.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/7.301, allocations: 1.128 MB / 3.624 GB, free: 0.7212 GB / 2.061 GB Notification: Performance of SimCode: time 9.21e-07/7.301, allocations: 4 kB / 3.624 GB, free: 0.7212 GB / 2.061 GB Notification: Performance of Templates: time 0.3608/7.662, allocations: 319.8 MB / 3.936 GB, free: 419.4 MB / 2.061 GB " [Timeout remaining time 292] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 76.80820997292176]