Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001687/0.001687, allocations: 109 kB / 16.45 MB, free: 6.035 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.001944/0.001944, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 443.5 MB / 0.7287 GB, free: 13.36 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.002091/0.002091, allocations: 67.89 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8669, allocations: 160.7 MB / 1.213 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003299/0.8702, allocations: 1.437 MB / 1.214 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.8721, allocations: 1.1 MB / 1.215 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.8724, allocations: 4 kB / 1.215 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.8725, allocations: 35.53 kB / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.8727, allocations: 47.55 kB / 1.216 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.8731, allocations: 119.9 kB / 1.216 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.8735, allocations: 332.6 kB / 1.216 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.8738, allocations: 158 kB / 1.216 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.8741, allocations: 139.4 kB / 1.216 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.8743, allocations: 151.2 kB / 1.216 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.8743, allocations: 36 kB / 1.216 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.8744, allocations: 40 kB / 1.216 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.8745, allocations: 75.75 kB / 1.217 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.8746, allocations: 163.1 kB / 1.217 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.8752, allocations: 475.8 kB / 1.217 GB, free: 1.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.8752, allocations: 3.938 kB / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8752, allocations: 0 / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8752, allocations: 0 / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001016/0.8763, allocations: 0.5883 MB / 1.218 GB, free: 476 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.8763, allocations: 8.031 kB / 1.218 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.8764, allocations: 74.66 kB / 1.218 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.8765, allocations: 44.7 kB / 1.218 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.8771, allocations: 321.8 kB / 1.218 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.8772, allocations: 29.03 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.8772, allocations: 28.38 kB / 1.218 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.8779, allocations: 278.6 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.8779, allocations: 3.938 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.8779, allocations: 19.94 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.878, allocations: 15.98 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.8785, allocations: 226.5 kB / 1.219 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.8799, allocations: 0.8078 MB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.8804, allocations: 212.8 kB / 1.22 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.8806, allocations: 108.8 kB / 1.22 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.8806, allocations: 0 / 1.22 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.8807, allocations: 34.56 kB / 1.22 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.8807, allocations: 0 / 1.22 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0009713/0.8817, allocations: 303.3 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.8817, allocations: 51.41 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.882, allocations: 211.7 kB / 1.22 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.882, allocations: 33.7 kB / 1.22 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.8822, allocations: 180.5 kB / 1.221 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.8823, allocations: 83.33 kB / 1.221 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.8824, allocations: 61.97 kB / 1.221 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.8826, allocations: 342.8 kB / 1.221 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.8828, allocations: 72.52 kB / 1.221 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.8831, allocations: 140.4 kB / 1.221 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.8835, allocations: 217.2 kB / 1.221 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8835, allocations: 0 / 1.221 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005492/0.8841, allocations: 275.8 kB / 1.222 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8841, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8841, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.8841, allocations: 7.938 kB / 1.222 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.8844, allocations: 51.89 kB / 1.222 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.8844, allocations: 7.938 kB / 1.222 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.8845, allocations: 31.78 kB / 1.222 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.8845, allocations: 19.92 kB / 1.222 GB, free: 12 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.0001632/0.8847, allocations: 149.8 kB / 1.222 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.8847, allocations: 19.86 kB / 1.222 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.8853, allocations: 247.6 kB / 1.222 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.8853, allocations: 7.938 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8854, allocations: 0 / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.8854, allocations: 4 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.8858, allocations: 345.4 kB / 1.223 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8858, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.886, allocations: 43.91 kB / 1.223 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.886, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.886, allocations: 11.98 kB / 1.223 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.886, allocations: 3.938 kB / 1.223 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.886, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.8865, allocations: 337.9 kB / 1.223 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.8866, allocations: 100.9 kB / 1.223 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.8866, allocations: 7.984 kB / 1.223 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8868, allocations: 11.94 kB / 1.223 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.8868, allocations: 23.97 kB / 1.223 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.8869, allocations: 11.98 kB / 1.223 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001181/0.887, allocations: 140.2 kB / 1.223 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.887, allocations: 4 kB / 1.223 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003146/0.8873, allocations: 59.78 kB / 1.223 GB, free: 10.41 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0009179/0.8882, allocations: 0.8717 MB / 1.224 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.8887, allocations: 203.2 kB / 1.224 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8887, allocations: 0 / 1.224 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.889, allocations: 103.9 kB / 1.224 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.8893, allocations: 32.23 kB / 1.224 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.8927, allocations: 2.372 MB / 1.227 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.8931, allocations: 0.7676 MB / 1.228 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.8933, allocations: 26.3 kB / 1.228 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.8934, allocations: 107.3 kB / 1.228 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of SimCode: time 7.12e-07/0.8934, allocations: 0 / 1.228 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.923, allocations: 4.052 MB / 1.232 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.351, allocations: 8.312 kB / 1.232 GB, free: 1.906 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.202403418254107]