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.001863/0.001863, 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.002432/0.002432, allocations: 218.2 kB / 22.25 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.957 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.207/3.207, allocations: 0.49 GB / 0.7951 GB, free: 33.31 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.002036/0.002036, allocations: 71.14 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4221, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00347/0.4255, allocations: 1.442 MB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.4273, allocations: 1.143 MB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.4276, allocations: 8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.4277, allocations: 39.47 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.428, allocations: 47.55 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.4284, allocations: 131.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.4289, allocations: 332.7 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.4294, allocations: 158.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.4297, allocations: 143.4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.43, allocations: 151.2 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.43, allocations: 40 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.4302, allocations: 47.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.4303, allocations: 83.7 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.4306, allocations: 159.1 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009476/0.4316, allocations: 490.1 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4316, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4316, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.4316, allocations: 0 / 1.33 GB, free: 13.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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001429/0.433, allocations: 0.5096 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4331, allocations: 16.03 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.4332, allocations: 70.66 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.4335, allocations: 48.69 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.4343, allocations: 271.6 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.4343, allocations: 29.31 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.4344, allocations: 28.38 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.4351, allocations: 303.1 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4351, allocations: 7.922 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.4352, allocations: 12 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4352, allocations: 8 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.4358, allocations: 239.9 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.4371, allocations: 0.7748 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.4376, allocations: 229.3 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.4379, allocations: 101.3 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.4379, allocations: 4.234 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.4379, allocations: 42.78 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.4379, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0008774/0.4388, allocations: 308.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.439, allocations: 55.41 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.4392, allocations: 211.7 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4392, allocations: 33.7 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.4394, allocations: 180.5 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.4395, allocations: 87.27 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4396, allocations: 69.92 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4398, allocations: 334.8 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.44, allocations: 80.52 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.4402, allocations: 143.9 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.4407, allocations: 218.7 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4407, allocations: 0 / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005884/0.4413, allocations: 274.2 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4413, allocations: 8 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4413, allocations: 0 / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.4414, allocations: 7.938 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.4416, allocations: 55.91 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.4416, allocations: 7.938 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.4418, allocations: 32.03 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.4418, allocations: 8 kB / 1.335 GB, free: 8.527 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.0002325/0.442, allocations: 154.3 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.4421, allocations: 23.8 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.4427, allocations: 256.4 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4427, allocations: 4 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4427, allocations: 0 / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4427, allocations: 3.984 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.4432, allocations: 324.3 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4432, allocations: 0 / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.4434, allocations: 47.91 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4434, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.4434, allocations: 11.94 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4434, allocations: 0 / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4434, allocations: 4 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.444, allocations: 323.3 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.444, allocations: 31.8 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.4441, allocations: 3.938 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4442, allocations: 11.98 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.4443, allocations: 35.95 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.4443, allocations: 4 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001306/0.4444, allocations: 137.5 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4444, allocations: 0 / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003337/0.4448, allocations: 67.73 kB / 1.336 GB, free: 7.043 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.0009302/0.4457, allocations: 0.8729 MB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.4463, allocations: 211.7 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-06/0.4463, allocations: 448 / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.4466, allocations: 111.9 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4469, allocations: 21.56 kB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.4508, allocations: 2.397 MB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.4514, allocations: 0.7673 MB / 1.34 GB, free: 2.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.4516, allocations: 38.27 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.4518, allocations: 103.6 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4518, allocations: 0 / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.4879, allocations: 4.333 MB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.92, allocations: 10.72 kB / 1.345 GB, free: 14.19 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.77875075605698]