Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001557/0.001557, allocations: 113 kB / 18.94 MB, free: 2.934 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.002182/0.002182, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 8.023 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.366/3.366, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_12_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_12_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.002072/0.002072, allocations: 68.81 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002556/0.3494, allocations: 1.148 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3511, allocations: 1.291 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3512, allocations: 11.94 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.943e-05/0.3513, allocations: 19.73 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.3514, allocations: 23.73 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.3519, allocations: 191.4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.3523, allocations: 271.9 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.3525, allocations: 76.31 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3526, allocations: 115.7 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.3528, allocations: 123.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.3529, allocations: 28 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.353, allocations: 43.91 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.353, allocations: 51.84 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3532, allocations: 111.5 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.3536, allocations: 330.9 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3536, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3536, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3536, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 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.000952/0.3545, allocations: 479 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3546, allocations: 12.03 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.3546, allocations: 50.73 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.3547, allocations: 28.75 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.3554, allocations: 243.6 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.3555, allocations: 24.31 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.3555, allocations: 20.38 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.356, allocations: 220 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.356, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.356, allocations: 8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.356, allocations: 8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.3565, allocations: 156.4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.3575, allocations: 0.6086 MB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.3579, allocations: 141.1 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.3581, allocations: 81.75 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.3582, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.3586, allocations: 156.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3586, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0008776/0.3595, allocations: 257.4 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.3596, allocations: 81.11 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.3598, allocations: 183.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.3598, allocations: 29.7 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3599, allocations: 132.5 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.3599, allocations: 47.64 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.36, allocations: 57.69 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3602, allocations: 326.8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.3605, allocations: 91.83 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.3608, allocations: 121.1 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/0.3613, allocations: 214.6 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3613, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006978/0.362, allocations: 291.5 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.362, allocations: 35.58 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.362, allocations: 0 / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.362, allocations: 7.938 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3623, allocations: 35.91 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3623, allocations: 7.984 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.3625, allocations: 51.97 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.3626, allocations: 11.94 kB / 1.334 GB, free: 9.711 MB / 1.029 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.0001535/0.3627, allocations: 133.8 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.3627, allocations: 19.89 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.3628, allocations: 17.41 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3628, allocations: 11.94 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3628, allocations: 0 / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3628, allocations: 3.984 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.3631, allocations: 236.6 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3631, allocations: 320 / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3633, allocations: 35.91 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3633, allocations: 0 / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3633, allocations: 12 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3633, allocations: 3.938 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3633, allocations: 4 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.3638, allocations: 217.9 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.3639, allocations: 15.91 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3639, allocations: 4 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.364, allocations: 31.78 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.3641, allocations: 23.97 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3641, allocations: 8 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.3642, allocations: 119.5 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3642, allocations: 4 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002583/0.3645, allocations: 47.88 kB / 1.335 GB, free: 8.703 MB / 1.029 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.0009791/0.3654, allocations: 0.7707 MB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006435/0.3661, allocations: 251.1 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3661, allocations: 0 / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.3663, allocations: 79.88 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.3666, allocations: 38 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.37, allocations: 2.111 MB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3704, allocations: 0.732 MB / 1.338 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.3705, allocations: 21.48 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3706, allocations: 67.42 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3706, allocations: 0 / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.4046, allocations: 4.656 MB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 9.828 kB / 1.343 GB, free: 15.97 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.676812013844028]