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.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 497.2 MB / 0.7812 GB, free: 12.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003029/0.003029, allocations: 63.89 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.027, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002453/1.03, allocations: 1.448 MB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001397/1.031, allocations: 1.096 MB / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/1.031, allocations: 6.062 kB / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/1.031, allocations: 38.22 kB / 1.307 GB, free: 30.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/1.031, allocations: 45.98 kB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000342/1.032, allocations: 123.7 kB / 1.307 GB, free: 30.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/1.032, allocations: 339.9 kB / 1.307 GB, free: 29.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/1.032, allocations: 159.2 kB / 1.307 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/1.033, allocations: 137.5 kB / 1.307 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/1.033, allocations: 148.2 kB / 1.307 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/1.033, allocations: 39.28 kB / 1.307 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/1.033, allocations: 38.97 kB / 1.308 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/1.033, allocations: 88.05 kB / 1.308 GB, free: 29.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/1.033, allocations: 155.8 kB / 1.308 GB, free: 29.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/1.033, allocations: 485.3 kB / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.033, allocations: 0 / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/1.033, allocations: 0 / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.363e-05/1.033, allocations: 3.938 kB / 1.308 GB, free: 29.34 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0007419/1.034, allocations: 0.5897 MB / 1.309 GB, free: 28.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.034, allocations: 8.844 kB / 1.309 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/1.034, allocations: 75.8 kB / 1.309 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/1.034, allocations: 42.06 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/1.035, allocations: 329.3 kB / 1.309 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/1.035, allocations: 28.03 kB / 1.309 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/1.035, allocations: 28.38 kB / 1.309 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/1.035, allocations: 290.5 kB / 1.31 GB, free: 28.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.035, allocations: 10.59 kB / 1.31 GB, free: 28.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/1.035, allocations: 10.75 kB / 1.31 GB, free: 28.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.035, allocations: 11.25 kB / 1.31 GB, free: 28.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/1.036, allocations: 233.6 kB / 1.31 GB, free: 28.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009218/1.037, allocations: 0.8233 MB / 1.311 GB, free: 27.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/1.037, allocations: 239.5 kB / 1.311 GB, free: 27.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/1.037, allocations: 105.9 kB / 1.311 GB, free: 27.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/1.037, allocations: 2.984 kB / 1.311 GB, free: 27.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/1.037, allocations: 34.8 kB / 1.311 GB, free: 27.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/1.037, allocations: 2.969 kB / 1.311 GB, free: 27.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0006465/1.038, allocations: 312.9 kB / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/1.038, allocations: 54.31 kB / 1.311 GB, free: 27.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/1.038, allocations: 210.8 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/1.038, allocations: 25.7 kB / 1.312 GB, free: 27.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/1.038, allocations: 188.6 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/1.038, allocations: 83.36 kB / 1.312 GB, free: 26.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/1.038, allocations: 66.16 kB / 1.312 GB, free: 26.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/1.039, allocations: 333.8 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.039, allocations: 77.36 kB / 1.312 GB, free: 26.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.039, allocations: 143.5 kB / 1.312 GB, free: 26.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/1.039, allocations: 216.5 kB / 1.313 GB, free: 26.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.039, allocations: 0 / 1.313 GB, free: 26.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004533/1.04, allocations: 275.6 kB / 1.313 GB, free: 26.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.04, allocations: 5.75 kB / 1.313 GB, free: 26.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.04, allocations: 0 / 1.313 GB, free: 26.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.04, allocations: 9.625 kB / 1.313 GB, free: 26.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/1.04, allocations: 52.28 kB / 1.313 GB, free: 26.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.04, allocations: 2.969 kB / 1.313 GB, free: 26.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/1.04, allocations: 28.27 kB / 1.313 GB, free: 26.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.04, allocations: 17.09 kB / 1.313 GB, free: 26.16 MB / 1.061 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.0001926/1.04, allocations: 170.2 kB / 1.313 GB, free: 26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/1.04, allocations: 20.11 kB / 1.313 GB, free: 25.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/1.041, allocations: 257.7 kB / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.041, allocations: 10.78 kB / 1.313 GB, free: 25.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.041, allocations: 0 / 1.313 GB, free: 25.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.041, allocations: 0 / 1.313 GB, free: 25.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/1.041, allocations: 353.5 kB / 1.314 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.041, allocations: 0 / 1.314 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/1.041, allocations: 39.84 kB / 1.314 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.041, allocations: 0 / 1.314 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.041, allocations: 13.98 kB / 1.314 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.041, allocations: 0 / 1.314 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.041, allocations: 0 / 1.314 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/1.042, allocations: 343.4 kB / 1.314 GB, free: 25.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/1.042, allocations: 98.5 kB / 1.314 GB, free: 25.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/1.042, allocations: 7.938 kB / 1.314 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/1.042, allocations: 12.95 kB / 1.314 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.042, allocations: 28.75 kB / 1.314 GB, free: 25.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.042, allocations: 9.406 kB / 1.314 GB, free: 25.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.468e-05/1.042, allocations: 141.1 kB / 1.314 GB, free: 25.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.042, allocations: 0 / 1.314 GB, free: 25.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002981/1.042, allocations: 59 kB / 1.314 GB, free: 25.12 MB / 1.061 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.0006258/1.043, allocations: 0.8748 MB / 1.315 GB, free: 24.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004576/1.044, allocations: 210.3 kB / 1.316 GB, free: 24.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.044, allocations: 0 / 1.316 GB, free: 24.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/1.044, allocations: 116.9 kB / 1.316 GB, free: 24.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/1.044, allocations: 29.33 kB / 1.316 GB, free: 24.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/1.047, allocations: 2.402 MB / 1.318 GB, free: 22.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/1.047, allocations: 0.765 MB / 1.319 GB, free: 21.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001311/1.047, allocations: 36.72 kB / 1.319 GB, free: 21.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/1.047, allocations: 94.59 kB / 1.319 GB, free: 21.73 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/1.047, allocations: 0 / 1.319 GB, free: 21.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/1.074, allocations: 4.103 MB / 1.323 GB, free: 21.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.592, allocations: 13.67 kB / 1.323 GB, free: 21.22 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.103442984167486]