Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 103.4 kB / 15.34 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 191.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.494/2.494, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.805/3.805, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 67.84 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.178, allocations: 140.4 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004372/1.182, allocations: 2.126 MB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001355/1.184, allocations: 0.7102 MB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/1.184, allocations: 3.969 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/1.184, allocations: 27.36 kB / 0.952 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/1.184, allocations: 30.81 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/1.185, allocations: 142.7 kB / 0.9522 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004042/1.185, allocations: 392 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/1.185, allocations: 251.2 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/1.186, allocations: 137.3 kB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/1.186, allocations: 147.1 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/1.186, allocations: 37.53 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/1.186, allocations: 42.66 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/1.186, allocations: 86.81 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/1.186, allocations: 150.2 kB / 0.9534 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/1.187, allocations: 406 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.187, allocations: 5.156 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/1.187, allocations: 3.984 kB / 0.9538 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.187, allocations: 0 / 0.9538 GB, free: 5.574 MB / 0.7169 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.0008549/1.187, allocations: 0.5656 MB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.188, allocations: 9.531 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.602e-05/1.188, allocations: 66.98 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/1.188, allocations: 37.36 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/1.188, allocations: 263.3 kB / 0.9547 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/1.188, allocations: 31.03 kB / 0.9547 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/1.188, allocations: 27.25 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/1.189, allocations: 313.9 kB / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.189, allocations: 0 / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/1.189, allocations: 15.41 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.189, allocations: 10.22 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/1.189, allocations: 233.8 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/1.191, allocations: 0.9404 MB / 0.9562 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/1.191, allocations: 250.2 kB / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/1.191, allocations: 116.7 kB / 0.9566 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/1.192, allocations: 6.828 kB / 0.9566 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/1.192, allocations: 162.5 kB / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/1.192, allocations: 0 / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.000756/1.193, allocations: 329.3 kB / 0.957 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/1.193, allocations: 60.02 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/1.193, allocations: 200.8 kB / 0.9573 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/1.193, allocations: 37.42 kB / 0.9573 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.193, allocations: 157.4 kB / 0.9575 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/1.193, allocations: 86.05 kB / 0.9576 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/1.193, allocations: 78.66 kB / 0.9576 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/1.193, allocations: 339.1 kB / 0.958 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/1.194, allocations: 93.36 kB / 0.958 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/1.194, allocations: 149.8 kB / 0.9582 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/1.194, allocations: 206.8 kB / 0.9584 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.194, allocations: 7.938 kB / 0.9584 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000573/1.195, allocations: 303.6 kB / 0.9587 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/1.195, allocations: 5.125 kB / 0.9587 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.195, allocations: 5.297 kB / 0.9587 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.195, allocations: 4.094 kB / 0.9587 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/1.195, allocations: 38.2 kB / 0.9587 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.195, allocations: 6.5 kB / 0.9587 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/1.195, allocations: 53.17 kB / 0.9588 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/1.196, allocations: 13.66 kB / 0.9588 GB, free: 1.691 MB / 0.7169 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001985/1.196, allocations: 169.9 kB / 0.959 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/1.196, allocations: 25.36 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/1.196, allocations: 281.1 kB / 0.9593 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/1.196, allocations: 3.281 kB / 0.9593 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.196, allocations: 1.062 kB / 0.9593 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.196, allocations: 0 / 0.9593 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/1.198, allocations: 0.7259 MB / 0.96 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.198, allocations: 0 / 0.96 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/1.198, allocations: 36.64 kB / 0.96 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/1.198, allocations: 1.156 kB / 0.96 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.198, allocations: 10.05 kB / 0.96 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.198, allocations: 1.031 kB / 0.96 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.198, allocations: 8.938 kB / 0.96 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/1.198, allocations: 347.6 kB / 0.9604 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/1.198, allocations: 103.8 kB / 0.9605 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/1.198, allocations: 5.219 kB / 0.9605 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/1.199, allocations: 32.92 kB / 0.9605 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.199, allocations: 43.73 kB / 0.9605 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/1.199, allocations: 6.375 kB / 0.9605 GB, free: 368 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.838e-05/1.199, allocations: 139.2 kB / 0.9607 GB, free: 260 kB / 0.7169 GB Notification: Performance of sort global known variables: time 3.61e-07/1.199, allocations: 0 / 0.9607 GB, free: 260 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003863/1.199, allocations: 70.41 kB / 0.9607 GB, free: 236 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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 (32): * Single equations (assignments): 28 * 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.001017/1.2, allocations: 0.9032 MB / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007589/1.201, allocations: 268.3 kB / 0.9619 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.201, allocations: 1.375 kB / 0.9619 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/1.201, allocations: 134.2 kB / 0.962 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/1.202, allocations: 33.58 kB / 0.962 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/1.206, allocations: 2.624 MB / 0.9646 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/1.206, allocations: 0.7601 MB / 0.9653 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001638/1.207, allocations: 29.81 kB / 0.9654 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/1.207, allocations: 92.42 kB / 0.9655 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of SimCode: time 6.12e-07/1.207, allocations: 0 / 0.9655 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.068/3.275, allocations: 5.239 MB / 0.9706 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004313/3.275, allocations: 239 kB / 0.9708 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.219/7.495, allocations: 0 / 0.9708 GB, free: 9.645 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches