Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001743/0.001743, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.443/1.443, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 443.5 MB / 0.7293 GB, free: 14.56 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=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_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 71.89 kB / 1.057 GB, free: 1.98 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3306, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.057/4.388, allocations: 1.38 GB / 2.594 GB, free: 91.7 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 0.3584/4.746, allocations: 335.6 MB / 2.922 GB, free: 25.16 MB / 1.717 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06346/4.81, allocations: 1.225 MB / 2.923 GB, free: 24.22 MB / 1.717 GB Notification: Performance of NFTyping.typeComponents: time 0.03919/4.849, allocations: 13.66 MB / 2.936 GB, free: 10.96 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.1095/4.959, allocations: 33.93 MB / 2.97 GB, free: 13.56 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.0606/5.019, allocations: 19.87 MB / 2.989 GB, free: 10.86 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 0.1033/5.123, allocations: 57.84 MB / 3.045 GB, free: 0.8711 MB / 1.811 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04809/5.171, allocations: 18.06 MB / 3.063 GB, free: 14.64 MB / 1.842 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07055/5.241, allocations: 25.67 MB / 3.088 GB, free: 4.918 MB / 1.857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04358/5.285, allocations: 18.57 MB / 3.106 GB, free: 2.246 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.01006/5.295, allocations: 2.129 MB / 3.108 GB, free: 120 kB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05636/5.351, allocations: 18.29 MB / 3.126 GB, free: 13.8 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.01219/5.363, allocations: 5.102 MB / 3.131 GB, free: 8.676 MB / 1.904 GB Notification: Performance of NFVerifyModel.verify: time 0.03155/5.395, allocations: 11.17 MB / 3.142 GB, free: 13.45 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.09983/5.495, allocations: 42.29 MB / 3.183 GB, free: 3.031 MB / 1.951 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/5.495, allocations: 0 / 3.183 GB, free: 3.031 MB / 1.951 GB Notification: Performance of FrontEnd: time 2.044e-06/5.495, allocations: 0 / 3.183 GB, free: 3.031 MB / 1.951 GB Notification: Performance of Transformations before backend: time 0.001309/5.496, allocations: 0 / 3.183 GB, free: 3.031 MB / 1.951 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.05877/5.555, allocations: 21.58 MB / 3.205 GB, free: 13.17 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/5.555, allocations: 16.03 kB / 3.205 GB, free: 13.16 MB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/5.566, allocations: 2.35 MB / 3.207 GB, free: 10.79 MB / 1.982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04407/5.61, allocations: 19.06 MB / 3.225 GB, free: 7.633 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/5.611, allocations: 0.9739 MB / 3.226 GB, free: 6.656 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004191/5.615, allocations: 1.285 MB / 3.228 GB, free: 5.371 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04177/5.657, allocations: 14.62 MB / 3.242 GB, free: 5.969 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004859/5.657, allocations: 51.52 kB / 3.242 GB, free: 5.918 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003145/5.661, allocations: 0.5351 MB / 3.243 GB, free: 5.383 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003897/5.661, allocations: 351.9 kB / 3.243 GB, free: 5.039 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8218/6.483, allocations: 10.08 MB / 3.253 GB, free: 0.9857 GB / 2.014 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.1088/6.591, allocations: 76.74 MB / 3.328 GB, free: 0.933 GB / 2.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008137/6.6, allocations: 4.353 MB / 3.332 GB, free: 0.9309 GB / 2.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/6.604, allocations: 2.299 MB / 3.334 GB, free: 0.9299 GB / 2.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08483/6.689, allocations: 51.67 MB / 3.385 GB, free: 0.8879 GB / 2.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/6.689, allocations: 121.4 kB / 3.385 GB, free: 0.8878 GB / 2.014 GB Notification: Performance of pre-optimization done (n=412): time 1.965e-05/6.689, allocations: 0 / 3.385 GB, free: 0.8878 GB / 2.014 GB Notification: Performance of matching and sorting (n=412): time 0.01883/6.708, allocations: 7.082 MB / 3.392 GB, free: 0.8843 GB / 2.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/6.708, allocations: 0.7981 MB / 3.392 GB, free: 0.8834 GB / 2.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04154/6.75, allocations: 16.68 MB / 3.409 GB, free: 0.8751 GB / 2.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001582/6.751, allocations: 141.1 kB / 3.409 GB, free: 0.875 GB / 2.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.01106/6.762, allocations: 8.69 MB / 3.417 GB, free: 0.8677 GB / 2.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00286/6.765, allocations: 1.537 MB / 3.419 GB, free: 0.8664 GB / 2.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005791/6.771, allocations: 1.495 MB / 3.42 GB, free: 0.8656 GB / 2.014 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/6.771, allocations: 304.4 kB / 3.421 GB, free: 0.8653 GB / 2.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004079/6.775, allocations: 2.082 MB / 3.423 GB, free: 0.8643 GB / 2.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007059/6.782, allocations: 5.286 MB / 3.428 GB, free: 0.8593 GB / 2.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008848/6.791, allocations: 7.14 MB / 3.435 GB, free: 0.8538 GB / 2.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/6.791, allocations: 22.25 kB / 3.435 GB, free: 0.8538 GB / 2.014 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02088/6.812, allocations: 8.448 MB / 3.443 GB, free: 0.8497 GB / 2.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/6.812, allocations: 39.53 kB / 3.443 GB, free: 0.8497 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/6.812, allocations: 79.03 kB / 3.443 GB, free: 0.8497 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/6.813, allocations: 118.7 kB / 3.443 GB, free: 0.8497 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005476/6.818, allocations: 1.459 MB / 3.445 GB, free: 0.8493 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002204/6.818, allocations: 168.1 kB / 3.445 GB, free: 0.8493 GB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01423/6.832, allocations: 1.362 MB / 3.446 GB, free: 0.8484 GB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/6.835, allocations: 397.6 kB / 3.447 GB, free: 0.8483 GB / 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.01171/6.846, allocations: 3.57 MB / 3.45 GB, free: 0.8461 GB / 2.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007124/6.853, allocations: 1.748 MB / 3.452 GB, free: 0.8451 GB / 2.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01806/6.871, allocations: 7.573 MB / 3.459 GB, free: 0.8412 GB / 2.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002626/6.872, allocations: 86.84 kB / 3.459 GB, free: 0.8412 GB / 2.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.37e-05/6.872, allocations: 11.28 kB / 3.459 GB, free: 0.8412 GB / 2.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004637/6.876, allocations: 3.835 MB / 3.463 GB, free: 0.8383 GB / 2.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05738/6.934, allocations: 28.84 MB / 3.491 GB, free: 0.8106 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00015/6.934, allocations: 32 kB / 3.491 GB, free: 0.8106 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/6.937, allocations: 0.7762 MB / 3.492 GB, free: 0.8098 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-05/6.937, allocations: 51.94 kB / 3.492 GB, free: 0.8098 GB / 2.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007937/6.938, allocations: 156 kB / 3.492 GB, free: 0.8096 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-05/6.938, allocations: 76.06 kB / 3.492 GB, free: 0.8096 GB / 2.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/6.938, allocations: 51.81 kB / 3.492 GB, free: 0.8095 GB / 2.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/6.957, allocations: 12.03 MB / 3.504 GB, free: 0.7972 GB / 2.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009076/6.966, allocations: 2.948 MB / 3.507 GB, free: 0.7943 GB / 2.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005718/6.972, allocations: 163.6 kB / 3.507 GB, free: 0.7941 GB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/6.982, allocations: 255.4 kB / 3.507 GB, free: 0.7939 GB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/6.984, allocations: 402.6 kB / 3.508 GB, free: 0.7935 GB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00118/6.985, allocations: 259.8 kB / 3.508 GB, free: 0.7932 GB / 2.014 GB Notification: Performance of sorting global known variables: time 0.0269/7.012, allocations: 11.85 MB / 3.519 GB, free: 0.7818 GB / 2.014 GB Notification: Performance of sort global known variables: time 5.31e-07/7.012, allocations: 0 / 3.519 GB, free: 0.7818 GB / 2.014 GB Notification: Performance of remove unused functions: time 0.0222/7.034, allocations: 5.411 MB / 3.525 GB, free: 0.7765 GB / 2.014 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.01242/7.046, allocations: 4.57 MB / 3.529 GB, free: 0.7724 GB / 2.014 GB Notification: Performance of simCode: created initialization part: time 0.0108/7.057, allocations: 5.468 MB / 3.535 GB, free: 0.7671 GB / 2.014 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-05/7.057, allocations: 12.38 kB / 3.535 GB, free: 0.7671 GB / 2.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004369/7.062, allocations: 2.417 MB / 3.537 GB, free: 0.7647 GB / 2.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05759/7.119, allocations: 10.03 MB / 3.547 GB, free: 0.7555 GB / 2.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05749/7.177, allocations: 28.62 MB / 3.575 GB, free: 0.7271 GB / 2.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01479/7.191, allocations: 7.521 MB / 3.582 GB, free: 0.7197 GB / 2.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004386/7.196, allocations: 1.124 MB / 3.583 GB, free: 0.7186 GB / 2.014 GB Notification: Performance of SimCode: time 1.473e-06/7.196, allocations: 0 / 3.583 GB, free: 0.7186 GB / 2.014 GB Notification: Performance of Templates: time 0.4073/7.603, allocations: 324.3 MB / 3.9 GB, free: 412.5 MB / 2.014 GB " [Timeout remaining time 292] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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: 75.7658732898999]