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.ActiveAirFlow.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.001386/0.001386, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001537/0.001537, allocations: 216 kB / 22.24 MB, free: 5.25 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 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.231/3.231, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.00212/0.00212, allocations: 67.02 kB / 1.154 GB, free: 25.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002912/0.3963, allocations: 1.326 MB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.398, allocations: 1.124 MB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.3981, allocations: 12 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.3982, allocations: 35.53 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.3984, allocations: 43.59 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.3988, allocations: 123.8 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000372/0.3991, allocations: 340.6 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.3994, allocations: 158.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.3997, allocations: 147.4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.3999, allocations: 155.2 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.4, allocations: 36 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.4001, allocations: 48 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.4001, allocations: 79.77 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.4003, allocations: 127.3 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.4008, allocations: 494.1 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4008, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.481e-06/0.4008, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.4008, allocations: 0 / 1.33 GB, free: 13.18 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0009667/0.4018, allocations: 0.5142 MB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4019, allocations: 8.031 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.89e-05/0.4019, allocations: 74.72 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.4021, allocations: 48.69 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.4027, allocations: 259.7 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.4027, allocations: 29.38 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.4028, allocations: 28.38 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.4034, allocations: 295.1 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4034, allocations: 7.938 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.4034, allocations: 16 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4034, allocations: 8 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.404, allocations: 231.8 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.4052, allocations: 0.7086 MB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.4057, allocations: 227.4 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.406, allocations: 105.2 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.406, allocations: 8.234 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4061, allocations: 30.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.4061, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0008096/0.4069, allocations: 313.6 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4069, allocations: 59.41 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4071, allocations: 211.7 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.4072, allocations: 29.7 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4073, allocations: 192.4 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.4074, allocations: 79.31 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.4075, allocations: 69.97 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4077, allocations: 330.8 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.4079, allocations: 76.52 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.4081, allocations: 151.9 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.4086, allocations: 214.9 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4086, allocations: 0 / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006066/0.4092, allocations: 277.2 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4092, allocations: 8 kB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.4092, allocations: 0 / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.4092, allocations: 7.938 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.4095, allocations: 56.11 kB / 1.334 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4095, allocations: 8 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4097, allocations: 31.77 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.4097, allocations: 16 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002636/0.41, allocations: 150.2 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.41, allocations: 19.86 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.4106, allocations: 268.3 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.4106, allocations: 4 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.4106, allocations: 0 / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4106, allocations: 7.984 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.411, allocations: 292.5 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.411, allocations: 0 / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.4112, allocations: 31.98 kB / 1.335 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4112, allocations: 3.984 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.4113, allocations: 11.94 kB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4113, allocations: 7.938 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4113, allocations: 0 / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.4118, allocations: 327.3 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.4118, allocations: 23.78 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.4119, allocations: 15.88 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.412, allocations: 8 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.4121, allocations: 23.95 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4121, allocations: 15.98 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001215/0.4122, allocations: 137.5 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4122, allocations: 0 / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003314/0.4126, allocations: 63.78 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0009238/0.4135, allocations: 0.8728 MB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.4141, allocations: 219.9 kB / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4141, allocations: 0 / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4143, allocations: 107.8 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.4146, allocations: 27.92 kB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.4183, allocations: 2.396 MB / 1.339 GB, free: 3.051 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.4185, allocations: 163.3 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.4186, allocations: 34.28 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.4188, allocations: 99.39 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of SimCode: time 1.653e-06/0.4188, allocations: 0 / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.4549, allocations: 4.718 MB / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.71, allocations: 12.02 kB / 1.344 GB, free: 14.2 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.461252463021083]