Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004059/0.004059, allocations: 101.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 199.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.103/2.103, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 63.56 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.195, allocations: 140.4 MB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002243/0.1972, allocations: 1.424 MB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1984, allocations: 1.092 MB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1986, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.157e-05/0.1987, allocations: 31.55 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1988, allocations: 39.55 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.199, allocations: 119.9 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1993, allocations: 336.6 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.1996, allocations: 210 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1997, allocations: 139.4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1999, allocations: 143.2 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.1999, allocations: 40 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.2, allocations: 36 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.2, allocations: 83.75 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2001, allocations: 163.1 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.2005, allocations: 477 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2005, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2005, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2005, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 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.0006762/0.2012, allocations: 0.572 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2012, allocations: 8.031 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.2013, allocations: 70.72 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.2014, allocations: 44.41 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.2018, allocations: 325.1 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.2018, allocations: 29.03 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.2019, allocations: 28.38 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.2023, allocations: 290 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2024, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2024, allocations: 16 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2024, allocations: 8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.2029, allocations: 234.4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.2037, allocations: 0.7997 MB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.2041, allocations: 226.7 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.2044, allocations: 112.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.2044, allocations: 4 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2044, allocations: 38.5 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.2044, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0006354/0.2051, allocations: 303.5 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.2051, allocations: 67.38 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2053, allocations: 207.6 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2053, allocations: 25.7 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.2054, allocations: 180.2 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.2054, allocations: 82.89 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.2055, allocations: 65.97 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.2056, allocations: 326.8 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.2058, allocations: 76.52 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.206, allocations: 143.9 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.2064, allocations: 218 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2064, allocations: 0 / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004577/0.2069, allocations: 269.2 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2069, allocations: 11.94 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2069, allocations: 0 / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2069, allocations: 4 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2071, allocations: 55.91 kB / 1.096 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2071, allocations: 4 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2073, allocations: 31.67 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2073, allocations: 11.98 kB / 1.096 GB, free: 8.59 MB / 0.8575 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.0001195/0.2074, allocations: 162.4 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.2075, allocations: 19.75 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.2079, allocations: 247.1 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2079, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.208, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.208, allocations: 7.984 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.2083, allocations: 349.3 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2083, allocations: 3.938 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.2084, allocations: 39.91 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2084, allocations: 7.938 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2085, allocations: 4 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2085, allocations: 0 / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2085, allocations: 4 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2089, allocations: 327.5 kB / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.209, allocations: 100.8 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.209, allocations: 11.94 kB / 1.098 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.2091, allocations: 11.98 kB / 1.098 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.2092, allocations: 31.91 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2092, allocations: 4 kB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.456e-05/0.2093, allocations: 145.5 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2093, allocations: 0 / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002648/0.2096, allocations: 59.69 kB / 1.098 GB, free: 6.996 MB / 0.8575 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.0006561/0.2102, allocations: 0.8793 MB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.2107, allocations: 207.7 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2107, allocations: 0 / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.2109, allocations: 108.3 kB / 1.099 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2112, allocations: 34.81 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.2136, allocations: 2.376 MB / 1.101 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2138, allocations: 0.7633 MB / 1.102 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.2139, allocations: 34.27 kB / 1.102 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2141, allocations: 99.41 kB / 1.102 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2141, allocations: 0 / 1.102 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2331/0.4472, allocations: 4.021 MB / 1.106 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.63, allocations: 14.77 kB / 1.106 GB, free: 14.5 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches