Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005971/0.005971, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.00143/0.00143, allocations: 196.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3087, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00326/0.312, allocations: 2.038 MB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3134, allocations: 0.7129 MB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.3136, allocations: 4 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3138, allocations: 35.55 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.3139, allocations: 43.58 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.3145, allocations: 159.8 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.315, allocations: 403.1 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.3154, allocations: 203.8 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.3156, allocations: 127.6 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3158, allocations: 151.3 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.3159, allocations: 44 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.316, allocations: 47.98 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.3161, allocations: 83.75 kB / 1.225 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3163, allocations: 143.3 kB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.3168, allocations: 426.4 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3168, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3169, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.3169, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 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.001076/0.3179, allocations: 0.5764 MB / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.318, allocations: 12.03 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.3181, allocations: 36.75 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.3185, allocations: 280.8 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3185, allocations: 24.94 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.3186, allocations: 32.31 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.3192, allocations: 316 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3192, allocations: 7.938 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3192, allocations: 12 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3192, allocations: 8 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.3197, allocations: 230.1 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.3214, allocations: 0.9327 MB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3218, allocations: 219.6 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.322, allocations: 109.2 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3221, allocations: 12.22 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.3223, allocations: 159.5 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.3223, allocations: 0 / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007202/0.3231, allocations: 329.3 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3231, allocations: 67.39 kB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3234, allocations: 207 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.3234, allocations: 41.7 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3235, allocations: 152.9 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.3236, allocations: 83.36 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3237, allocations: 73.69 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3238, allocations: 334.8 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3241, allocations: 95.95 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.3243, allocations: 153 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.3247, allocations: 214.5 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3247, allocations: 0 / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005638/0.3253, allocations: 316.5 kB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3253, allocations: 6.344 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3253, allocations: 7.984 kB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3253, allocations: 4 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3255, allocations: 35.92 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3255, allocations: 7.984 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3257, allocations: 47.75 kB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.3258, allocations: 12 kB / 1.23 GB, free: 3.859 MB / 0.9825 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.000247/0.326, allocations: 178.2 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.3261, allocations: 23.86 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.3267, allocations: 288.1 kB / 1.23 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3267, allocations: 4 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3267, allocations: 0 / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3267, allocations: 0 / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3278, allocations: 0.7333 MB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3279, allocations: 0 / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.328, allocations: 27.92 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.328, allocations: 0 / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.328, allocations: 11.98 kB / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.328, allocations: 0 / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.328, allocations: 0 / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.3286, allocations: 364.9 kB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.3287, allocations: 100.9 kB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.3287, allocations: 4 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3289, allocations: 31.95 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.329, allocations: 39.89 kB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3291, allocations: 8 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001035/0.3292, allocations: 135.2 kB / 1.232 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3292, allocations: 4 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003137/0.3295, allocations: 63.88 kB / 1.232 GB, free: 1.77 MB / 0.9825 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.active,heaCon.off.active,$cse1,$cse2,$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 (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.0001684/0.3296, allocations: 117.4 kB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.3301, allocations: 235.8 kB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3301, allocations: 320 / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.3304, allocations: 123.8 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3307, allocations: 32.92 kB / 1.232 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3318, allocations: 474 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.3325, allocations: 0.7603 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.3326, allocations: 34.27 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.3327, allocations: 27.42 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of SimCode: time 4.6e-07/0.3327, allocations: 0 / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.007412/0.3401, allocations: 3.096 MB / 1.237 GB, free: 12.86 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches