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.001755/0.001755, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.002264/0.002264, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.547/1.547, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.362/3.362, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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.002055/0.002055, allocations: 69.72 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3518, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002865/0.3547, allocations: 1.139 MB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3567, allocations: 1.283 MB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.3568, allocations: 4 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.107e-05/0.3569, allocations: 23.67 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.3571, allocations: 31.72 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.3578, allocations: 194.2 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.3582, allocations: 275.8 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3584, allocations: 83.78 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3586, allocations: 103.7 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.3588, allocations: 123.5 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.3588, allocations: 28 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.3589, allocations: 39.98 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.107e-05/0.359, allocations: 47.97 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3591, allocations: 115.4 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.3596, allocations: 330.9 kB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3596, allocations: 4 kB / 1.325 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3596, allocations: 0 / 1.325 GB, free: 15.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3596, allocations: 0 / 1.325 GB, free: 15.51 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.001119/0.3607, allocations: 0.543 MB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3608, allocations: 15.98 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.3608, allocations: 50.73 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.3609, allocations: 24.8 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.3617, allocations: 309.5 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3617, allocations: 16.31 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.3618, allocations: 28.36 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.3623, allocations: 211.4 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3623, allocations: 0 / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3623, allocations: 7.938 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3623, allocations: 4 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.3629, allocations: 151.9 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.3639, allocations: 0.6485 MB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.3644, allocations: 161.1 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.3646, allocations: 73.77 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3647, allocations: 3.984 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.3651, allocations: 155.1 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.3651, allocations: 3.938 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0009423/0.366, allocations: 253.5 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.3661, allocations: 85.03 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3662, allocations: 166.8 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3663, allocations: 33.7 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3664, allocations: 140.4 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.3664, allocations: 47.58 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3666, allocations: 61.64 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3667, allocations: 326.8 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.367, allocations: 87.86 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.3674, allocations: 125.1 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.3679, allocations: 215 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3679, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000816/0.3688, allocations: 291 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.3688, allocations: 29.7 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3688, allocations: 4.125 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3688, allocations: 7.938 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.3691, allocations: 43.84 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3691, allocations: 0 / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.3694, allocations: 51.84 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3694, allocations: 11.98 kB / 1.329 GB, free: 10.86 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.0001795/0.3696, allocations: 139.5 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.3696, allocations: 19.91 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.3697, allocations: 17.39 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3697, allocations: 7.938 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3697, allocations: 0 / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3697, allocations: 0 / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.37, allocations: 261.5 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.37, allocations: 4 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.3702, allocations: 35.91 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3702, allocations: 0 / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3702, allocations: 4 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3702, allocations: 4.25 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3703, allocations: 0 / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.3709, allocations: 231.7 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.371, allocations: 92.95 kB / 1.33 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.371, allocations: 4 kB / 1.33 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3711, allocations: 15.92 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.3712, allocations: 23.97 kB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3712, allocations: 7.984 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001105/0.3714, allocations: 124.2 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3714, allocations: 7.938 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000296/0.3717, allocations: 51.84 kB / 1.33 GB, free: 9.73 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.001066/0.3727, allocations: 0.7615 MB / 1.331 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007571/0.3735, allocations: 247 kB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3735, allocations: 256 / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.3738, allocations: 87.88 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3741, allocations: 33.62 kB / 1.331 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.3778, allocations: 2.114 MB / 1.333 GB, free: 6.328 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.3783, allocations: 0.7358 MB / 1.334 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.3784, allocations: 29.53 kB / 1.334 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3785, allocations: 59.42 kB / 1.334 GB, free: 5.48 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.3785, allocations: 0 / 1.334 GB, free: 5.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.409, allocations: 4.493 MB / 1.338 GB, free: 1.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.242, allocations: 13.62 kB / 1.338 GB, free: 1.172 MB / 1.029 GB " [Timeout remaining time 291] (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: 16.227951918030158]