Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.001366/0.001366, allocations: 116.6 kB / 17.13 MB, free: 6.027 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.001489/0.001489, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.005/3.005, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.91 kB / 1.15 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232/1.235, allocations: 176.1 MB / 1.322 GB, free: 7.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004093/1.239, allocations: 2.083 MB / 1.324 GB, free: 6.211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.24, allocations: 0.7977 MB / 1.325 GB, free: 5.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/1.241, allocations: 9.375 kB / 1.325 GB, free: 5.566 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/1.241, allocations: 34.44 kB / 1.325 GB, free: 5.535 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/1.241, allocations: 48.47 kB / 1.325 GB, free: 5.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/1.241, allocations: 172.1 kB / 1.325 GB, free: 5.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005712/1.242, allocations: 401.4 kB / 1.325 GB, free: 5.102 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/1.242, allocations: 210.3 kB / 1.326 GB, free: 4.961 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/1.243, allocations: 145 kB / 1.326 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/1.243, allocations: 146.1 kB / 1.326 GB, free: 4.758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/1.243, allocations: 37.88 kB / 1.326 GB, free: 4.758 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/1.243, allocations: 52.23 kB / 1.326 GB, free: 4.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/1.243, allocations: 79.45 kB / 1.326 GB, free: 4.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/1.243, allocations: 157.5 kB / 1.326 GB, free: 4.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000603/1.244, allocations: 433.8 kB / 1.327 GB, free: 4.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.244, allocations: 0 / 1.327 GB, free: 4.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.684e-06/1.244, allocations: 0 / 1.327 GB, free: 4.227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.244, allocations: 1.438 kB / 1.327 GB, free: 4.227 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00104/1.245, allocations: 0.588 MB / 1.327 GB, free: 3.676 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.245, allocations: 14.2 kB / 1.327 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/1.246, allocations: 64.55 kB / 1.327 GB, free: 3.641 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/1.246, allocations: 287.2 kB / 1.328 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/1.246, allocations: 22.28 kB / 1.328 GB, free: 3.344 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/1.246, allocations: 32.69 kB / 1.328 GB, free: 3.332 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/1.247, allocations: 313.6 kB / 1.328 GB, free: 3.137 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.247, allocations: 0 / 1.328 GB, free: 3.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/1.247, allocations: 14.41 kB / 1.328 GB, free: 3.125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.247, allocations: 6.812 kB / 1.328 GB, free: 3.125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/1.248, allocations: 233.5 kB / 1.328 GB, free: 3.012 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/1.25, allocations: 0.9275 MB / 1.329 GB, free: 2.211 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/1.25, allocations: 224 kB / 1.329 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.25, allocations: 108.8 kB / 1.329 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/1.25, allocations: 6.328 kB / 1.329 GB, free: 2.027 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/1.251, allocations: 154.5 kB / 1.329 GB, free: 1.918 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.205e-06/1.251, allocations: 0 / 1.329 GB, free: 1.918 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.0008743/1.252, allocations: 324.6 kB / 1.33 GB, free: 1.758 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.252, allocations: 60.78 kB / 1.33 GB, free: 1.691 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/1.252, allocations: 208 kB / 1.33 GB, free: 1.527 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/1.252, allocations: 38.39 kB / 1.33 GB, free: 1.488 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/1.252, allocations: 166.4 kB / 1.33 GB, free: 1.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/1.252, allocations: 78.44 kB / 1.33 GB, free: 1.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.253, allocations: 75.72 kB / 1.33 GB, free: 1.219 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.253, allocations: 337.1 kB / 1.331 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.253, allocations: 94.36 kB / 1.331 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/1.253, allocations: 147.7 kB / 1.331 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/1.254, allocations: 223.5 kB / 1.331 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.254, allocations: 5.125 kB / 1.331 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006548/1.254, allocations: 299 kB / 1.331 GB, free: 448 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.254, allocations: 6.281 kB / 1.331 GB, free: 448 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.254, allocations: 5.578 kB / 1.331 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.254, allocations: 6.812 kB / 1.331 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/1.255, allocations: 37.42 kB / 1.331 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.255, allocations: 3.281 kB / 1.331 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/1.255, allocations: 49.05 kB / 1.332 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/1.255, allocations: 13.84 kB / 1.332 GB, free: 392 kB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002242/1.255, allocations: 173.1 kB / 1.332 GB, free: 236 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/1.255, allocations: 25.59 kB / 1.332 GB, free: 220 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/1.255, allocations: 35.83 kB / 1.332 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/1.255, allocations: 1.906 kB / 1.332 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.255, allocations: 2 kB / 1.332 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.255, allocations: 0 / 1.332 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/1.256, allocations: 0.7089 MB / 1.332 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.256, allocations: 4 kB / 1.332 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/1.257, allocations: 27.17 kB / 1.333 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/1.257, allocations: 5.359 kB / 1.333 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/1.257, allocations: 5.375 kB / 1.333 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.257, allocations: 5.375 kB / 1.333 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.257, allocations: 1.375 kB / 1.333 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/1.257, allocations: 346.5 kB / 1.333 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/1.257, allocations: 103.8 kB / 1.333 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/1.257, allocations: 5.375 kB / 1.333 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.258, allocations: 25.72 kB / 1.333 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/1.258, allocations: 39.02 kB / 1.333 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.258, allocations: 13.48 kB / 1.333 GB, free: 15.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001436/1.258, allocations: 138.7 kB / 1.333 GB, free: 15.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/1.258, allocations: 0 / 1.333 GB, free: 15.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003701/1.258, allocations: 59.89 kB / 1.333 GB, free: 15.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000177/1.258, allocations: 128.2 kB / 1.333 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006004/1.259, allocations: 228.2 kB / 1.334 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.259, allocations: 0 / 1.334 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/1.259, allocations: 111 kB / 1.334 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/1.26, allocations: 35.95 kB / 1.334 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.261, allocations: 0.4894 MB / 1.334 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/1.261, allocations: 0.7623 MB / 1.335 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.261, allocations: 26.69 kB / 1.335 GB, free: 13.71 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/1.261, allocations: 1.344 kB / 1.335 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Templates: time 0.006553/1.268, allocations: 3.27 MB / 1.338 GB, free: 11.99 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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: 12.457791612003348]