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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 63.91 kB / 0.8693 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8067, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003213/0.8099, allocations: 1.479 MB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.8117, allocations: 1.077 MB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.812, allocations: 4 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.8122, allocations: 19.78 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.8124, allocations: 23.8 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.8128, allocations: 99.88 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.8132, allocations: 312.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.8136, allocations: 201.9 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.8139, allocations: 119.4 kB / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.8141, allocations: 135.2 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.8141, allocations: 20 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-05/0.8142, allocations: 20 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.8142, allocations: 55.77 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.8144, allocations: 139.1 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.8147, allocations: 373 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8148, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8148, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.8148, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 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.0009825/0.8158, allocations: 0.5771 MB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.8158, allocations: 11.97 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.8159, allocations: 36.47 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.8165, allocations: 333 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.8165, allocations: 25.03 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.8166, allocations: 28.38 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.8172, allocations: 282.6 kB / 1.023 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8172, allocations: 192 / 1.023 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.8172, allocations: 19.94 kB / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.8173, allocations: 8 kB / 1.023 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.8178, allocations: 234.5 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.819, allocations: 0.8114 MB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.8195, allocations: 238.7 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.8198, allocations: 120.7 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.8198, allocations: 7.984 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.8198, allocations: 34.56 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.8198, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007388/0.8206, allocations: 295.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.8206, allocations: 63.34 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.8208, allocations: 204.7 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.8209, allocations: 25.7 kB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.821, allocations: 180.2 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.8211, allocations: 74.84 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.8212, allocations: 73.97 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.8213, allocations: 330.8 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.8215, allocations: 80.45 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.8218, allocations: 139.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.8222, allocations: 221.9 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8222, allocations: 4 kB / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005132/0.8227, allocations: 261.1 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8228, allocations: 8.219 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.8228, allocations: 4 kB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8228, allocations: 4 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.823, allocations: 63.83 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.8231, allocations: 3.938 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.8232, allocations: 23.84 kB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.8232, allocations: 11.98 kB / 1.026 GB, free: 9.684 MB / 0.7794 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.0001465/0.8234, allocations: 158.3 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.8234, allocations: 23.72 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.824, allocations: 245.3 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.824, allocations: 7.938 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.824, allocations: 0 / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.824, allocations: 3.984 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.8244, allocations: 353.3 kB / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8244, allocations: 0 / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.8246, allocations: 39.91 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8246, allocations: 0 / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.8247, allocations: 11.98 kB / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8247, allocations: 3.938 kB / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8247, allocations: 0 / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.8252, allocations: 325.8 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.8253, allocations: 96.8 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.8253, allocations: 4 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.8254, allocations: 27.77 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.8255, allocations: 27.95 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.8256, allocations: 12 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001097/0.8257, allocations: 140.5 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8257, allocations: 4 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000291/0.826, allocations: 55.78 kB / 1.027 GB, free: 8.082 MB / 0.7794 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.0001492/0.8261, allocations: 110.7 kB / 1.028 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.8266, allocations: 213.5 kB / 1.028 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8266, allocations: 4 kB / 1.028 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.8269, allocations: 107.8 kB / 1.028 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.8272, allocations: 27.98 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.8282, allocations: 0.6129 MB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.8285, allocations: 0.7636 MB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.8286, allocations: 27.42 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8286, allocations: 0 / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of Templates: time 0.004932/0.8335, allocations: 2.976 MB / 1.032 GB, free: 3.195 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches