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.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.0008723/0.0008723, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001012/0.001012, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8547/0.8547, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.718/1.718, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 1.513e-06/1.513e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.678e-06/1.119e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00165/0.001662, allocations: 1.312 MB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.002592, allocations: 1.12 MB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.002674, allocations: 8 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.352e-05/0.002727, allocations: 35.53 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.002826, allocations: 47.48 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.00304, allocations: 131.7 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.003238, allocations: 344.6 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.003427, allocations: 150.5 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.003633, allocations: 203.5 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.003722, allocations: 111.6 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.003989, allocations: 43.94 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.004037, allocations: 40 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.004073, allocations: 79.73 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.00413, allocations: 107.7 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.004429, allocations: 498.2 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004431, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004431, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.004435, allocations: 3.938 kB / 1.004 GB, free: 9.262 MB / 0.9636 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.0005115/0.004946, allocations: 0.5135 MB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.00498, allocations: 9.344 kB / 1.004 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.005031, allocations: 70.72 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.005128, allocations: 44.69 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.005434, allocations: 266.9 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.005456, allocations: 25.38 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.005484, allocations: 36.38 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.005796, allocations: 295.1 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005804, allocations: 192 / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.005822, allocations: 16.38 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.00583, allocations: 16.06 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.006122, allocations: 239.8 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.006795, allocations: 0.7086 MB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.007081, allocations: 224.2 kB / 1.006 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.007204, allocations: 101.3 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.007226, allocations: 8.219 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.007243, allocations: 34.8 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 1.012e-06/0.007244, allocations: 0 / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27): time 0.0004122/0.007656, allocations: 311.5 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.007684, allocations: 59.39 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.007801, allocations: 211.7 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.007814, allocations: 29.7 kB / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.007889, allocations: 188.4 kB / 1.007 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.007925, allocations: 79.33 kB / 1.007 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.007983, allocations: 65.97 kB / 1.007 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.008054, allocations: 330.8 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.008163, allocations: 84.52 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.008294, allocations: 145 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.008534, allocations: 227.6 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008535, allocations: 0 / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000285/0.00882, allocations: 269.2 kB / 1.008 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.008831, allocations: 8.219 kB / 1.008 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.008836, allocations: 7.984 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.008847, allocations: 4 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.00897, allocations: 55.91 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.008977, allocations: 7.938 kB / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.009038, allocations: 31.77 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.00905, allocations: 12 kB / 1.008 GB, free: 4.355 MB / 0.9636 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 9.986e-05/0.009149, allocations: 154.3 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.009171, allocations: 19.91 kB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.009468, allocations: 256.1 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.009472, allocations: 4 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009475, allocations: 0 / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.00948, allocations: 7.922 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.009687, allocations: 292.5 kB / 1.009 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.009687, allocations: 0 / 1.009 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.009769, allocations: 43.97 kB / 1.009 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00977, allocations: 0 / 1.009 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.00978, allocations: 7.938 kB / 1.009 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.00978, allocations: 4 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.009781, allocations: 0 / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.01005, allocations: 331.7 kB / 1.009 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.01006, allocations: 23.8 kB / 1.009 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.01008, allocations: 4 kB / 1.009 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.01014, allocations: 19.98 kB / 1.009 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.01019, allocations: 27.89 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.0102, allocations: 8 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.01026, allocations: 137.5 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01026, allocations: 3.938 kB / 1.01 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001848/0.01045, allocations: 63.78 kB / 1.01 GB, free: 2.906 MB / 0.9636 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.0007591/0.01121, allocations: 0.8796 MB / 1.011 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.01148, allocations: 211.8 kB / 1.011 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01148, allocations: 0 / 1.011 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.0116, allocations: 107.8 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.0118, allocations: 44.3 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.01358, allocations: 2.405 MB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.553e-05/0.01367, allocations: 155.5 kB / 1.013 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.464e-05/0.01374, allocations: 30.28 kB / 1.013 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.01384, allocations: 100.5 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of SimCode: time 2.71e-07/0.01384, allocations: 0 / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.02976, allocations: 4.777 MB / 1.018 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.728, allocations: 11.05 kB / 1.018 GB, free: 10.25 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.668278998695314]