Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001379/0.001379, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001592/0.001592, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.288/3.288, allocations: 0.5107 GB / 0.8158 GB, free: 17.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002064/0.002064, allocations: 66.03 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3459, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002528/0.3484, allocations: 1.08 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3504, allocations: 1.264 MB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.3505, allocations: 4 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.115e-05/0.3506, allocations: 27.61 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3507, allocations: 23.73 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.3513, allocations: 192.1 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.3517, allocations: 271.9 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.3518, allocations: 80.28 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.352, allocations: 111.7 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.3522, allocations: 99.58 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.3522, allocations: 28 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.3523, allocations: 35.98 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3524, allocations: 55.83 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3525, allocations: 91.58 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.3529, allocations: 342.9 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3529, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3529, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3529, allocations: 3.938 kB / 1.367 GB, free: 10.41 MB / 1.061 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.0009662/0.3539, allocations: 483 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.354, allocations: 8.031 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.354, allocations: 50.73 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.3541, allocations: 24.8 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/0.3548, allocations: 246.9 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.3549, allocations: 16.38 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.3549, allocations: 20.38 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.3554, allocations: 212.1 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3554, allocations: 0 / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3555, allocations: 7.938 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3555, allocations: 8 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.356, allocations: 159.8 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.357, allocations: 0.5657 MB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.3574, allocations: 149.1 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.3577, allocations: 73.75 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.3577, allocations: 8 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.3582, allocations: 147 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.3582, allocations: 7.938 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0009544/0.3592, allocations: 253.5 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.3593, allocations: 85.05 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.3595, allocations: 182.6 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3595, allocations: 25.7 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3596, allocations: 140.5 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3597, allocations: 51.58 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3598, allocations: 57.69 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3599, allocations: 330.8 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.3603, allocations: 105.6 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.3606, allocations: 152.9 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.3611, allocations: 210.7 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3611, allocations: 0 / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007802/0.3619, allocations: 328.7 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.362, allocations: 33.7 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.362, allocations: 0 / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.362, allocations: 7.938 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.3622, allocations: 35.91 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3622, allocations: 4.312 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.3625, allocations: 51.97 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.3625, allocations: 15.98 kB / 1.371 GB, free: 5.918 MB / 1.061 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.0001495/0.3627, allocations: 137.8 kB / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3627, allocations: 15.91 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.3628, allocations: 21.39 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3628, allocations: 3.938 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3628, allocations: 8 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3628, allocations: 0 / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.3631, allocations: 224.6 kB / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3631, allocations: 0 / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.3633, allocations: 35.91 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3633, allocations: 0 / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3633, allocations: 4 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3633, allocations: 7.938 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3633, allocations: 3.938 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.3639, allocations: 224.2 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.3639, allocations: 19.91 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3639, allocations: 3.938 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3641, allocations: 23.91 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.3642, allocations: 19.97 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3642, allocations: 8 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.682e-05/0.3643, allocations: 123.2 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3643, allocations: 3.938 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002755/0.3646, allocations: 47.88 kB / 1.372 GB, free: 4.926 MB / 1.061 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.0009918/0.3655, allocations: 0.7692 MB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007036/0.3662, allocations: 276.8 kB / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3662, allocations: 0 / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.3665, allocations: 79.88 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3668, allocations: 28.48 kB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.3703, allocations: 2.257 MB / 1.375 GB, free: 1.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3704, allocations: 116.9 kB / 1.375 GB, free: 1.184 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.3705, allocations: 21.48 kB / 1.375 GB, free: 1.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3707, allocations: 63.41 kB / 1.376 GB, free: 1.102 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.3707, allocations: 4 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.4049, allocations: 5.195 MB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 11.2 kB / 1.381 GB, free: 12.12 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.74493412161246]