Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.001321/0.001321, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001498/0.001498, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.853/2.853, allocations: 476.8 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) [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.002065/0.002065, allocations: 64.83 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3037, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002564/0.3063, allocations: 1.144 MB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3081, allocations: 1.287 MB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.3083, allocations: 4 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.586e-05/0.3083, allocations: 19.73 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3085, allocations: 35.67 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.309, allocations: 189.2 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.3094, allocations: 267.9 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3096, allocations: 84.3 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.3098, allocations: 111.6 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.31, allocations: 127.5 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.31, allocations: 28 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.3101, allocations: 39.98 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.3102, allocations: 51.84 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.3103, allocations: 111.5 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.3107, allocations: 330.9 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3107, allocations: 3.984 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3107, allocations: 0 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3107, allocations: 0 / 1.287 GB, free: 7.879 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009708/0.3117, allocations: 476.6 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3117, allocations: 16.03 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.3118, allocations: 54.67 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.3119, allocations: 32.73 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.3126, allocations: 235 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.3126, allocations: 28.27 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.3127, allocations: 24.36 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.3132, allocations: 203.4 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3132, allocations: 3.984 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.3132, allocations: 12 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3132, allocations: 4 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.3137, allocations: 155.9 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009318/0.3146, allocations: 0.6008 MB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.315, allocations: 149.2 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.3153, allocations: 77.75 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3153, allocations: 8 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.3157, allocations: 151.4 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3157, allocations: 3.938 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0008551/0.3166, allocations: 257.4 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.3166, allocations: 81.11 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3168, allocations: 179.9 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.3168, allocations: 33.7 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.317, allocations: 144.4 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.317, allocations: 51.58 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3171, allocations: 53.69 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3173, allocations: 326.8 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.3175, allocations: 83.89 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.3178, allocations: 129 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.3184, allocations: 206.7 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3184, allocations: 0 / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007401/0.3191, allocations: 299.4 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.3192, allocations: 37.69 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3192, allocations: 4 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3192, allocations: 3.938 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.3194, allocations: 40.22 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3194, allocations: 4 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.3197, allocations: 47.91 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3197, allocations: 16 kB / 1.291 GB, free: 3.434 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: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001404/0.3198, allocations: 133.8 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.3199, allocations: 15.91 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.3199, allocations: 21.41 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3199, allocations: 11.88 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3199, allocations: 0 / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3199, allocations: 3.984 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3202, allocations: 232.6 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3202, allocations: 0 / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.3204, allocations: 35.97 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3204, allocations: 0 / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3204, allocations: 7.984 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3204, allocations: 3.938 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3204, allocations: 0 / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.321, allocations: 224.4 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.321, allocations: 15.91 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.321, allocations: 3.984 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3212, allocations: 19.92 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.3212, allocations: 27.97 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3213, allocations: 7.984 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.705e-05/0.3213, allocations: 123.2 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3213, allocations: 0 / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002709/0.3216, allocations: 43.89 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009494/0.3226, allocations: 0.7692 MB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009312/0.3235, allocations: 243.3 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3235, allocations: 0 / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.324, allocations: 87.81 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3244, allocations: 28.17 kB / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.328, allocations: 2.124 MB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.3285, allocations: 0.7281 MB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.3286, allocations: 29.47 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3287, allocations: 67.34 kB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/0.3287, allocations: 0 / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.3677, allocations: 4.652 MB / 1.301 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 11.09 kB / 1.301 GB, free: 9.719 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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: 18.42978054890409]