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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008209/0.000821, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004801/0.004801, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.33/2.33, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 8 kB / 0.873 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5024, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001286/0.5038, allocations: 1.105 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.5049, allocations: 1.073 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.505, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.5051, allocations: 19.78 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.5052, allocations: 19.81 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.5054, allocations: 107.8 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.5056, allocations: 308.6 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.5059, allocations: 198 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.506, allocations: 91.52 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.5061, allocations: 99.3 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.5062, allocations: 8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.5062, allocations: 8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.5062, allocations: 43.77 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/0.5063, allocations: 136.9 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.5066, allocations: 424.6 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5066, allocations: 7.875 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5066, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.5066, allocations: 4 kB / 1.027 GB, free: 12.16 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.0006164/0.5073, allocations: 0.5186 MB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.5073, allocations: 12.03 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.5074, allocations: 66.72 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.5074, allocations: 36.56 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.5079, allocations: 337.6 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.5079, allocations: 25.03 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.508, allocations: 32.38 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.5084, allocations: 290.6 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5085, allocations: 7.938 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.5085, allocations: 15.94 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5085, allocations: 8 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.509, allocations: 242.4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.5099, allocations: 0.8114 MB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.5103, allocations: 252.2 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.5106, allocations: 120.7 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.5106, allocations: 4 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5106, allocations: 34.56 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.5106, allocations: 4 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0006651/0.5113, allocations: 319.4 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5113, allocations: 51.5 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.5115, allocations: 215.5 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.5115, allocations: 25.7 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.5116, allocations: 180.2 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.5117, allocations: 78.84 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.5117, allocations: 45.69 kB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.5118, allocations: 334.8 kB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.5121, allocations: 80.52 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.5125, allocations: 151.9 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.5132, allocations: 225.9 kB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5132, allocations: 0 / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008369/0.514, allocations: 277.2 kB / 1.031 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5141, allocations: 10.19 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5141, allocations: 4.156 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5141, allocations: 11.94 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.5145, allocations: 55.91 kB / 1.031 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5145, allocations: 0 / 1.031 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5147, allocations: 39.73 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.5148, allocations: 8 kB / 1.031 GB, free: 7.023 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.0001939/0.515, allocations: 162.3 kB / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.5151, allocations: 15.81 kB / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/0.5159, allocations: 261.3 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.5159, allocations: 3.938 kB / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.5159, allocations: 4 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5159, allocations: 4 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.5165, allocations: 345.3 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5165, allocations: 0 / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.5168, allocations: 47.91 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.5168, allocations: 4 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5168, allocations: 3.938 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5168, allocations: 7.938 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5168, allocations: 3.984 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.5176, allocations: 341.8 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.5177, allocations: 96.77 kB / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.5177, allocations: 8 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.5179, allocations: 19.92 kB / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.5181, allocations: 19.97 kB / 1.033 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.5181, allocations: 11.98 kB / 1.033 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001477/0.5182, allocations: 140.2 kB / 1.033 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5183, allocations: 4 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004953/0.5188, allocations: 59.69 kB / 1.033 GB, free: 5.398 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.001102/0.5199, allocations: 0.8758 MB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007324/0.5206, allocations: 231 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5206, allocations: 0 / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.521, allocations: 115.9 kB / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.5215, allocations: 27.92 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.5259, allocations: 2.515 MB / 1.037 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.5263, allocations: 0.7597 MB / 1.037 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.5266, allocations: 34.28 kB / 1.037 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.5268, allocations: 99.39 kB / 1.037 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.5268, allocations: 0 / 1.037 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.52/2.047, allocations: 3.634 MB / 1.041 GB, free: 13.18 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/2.047, allocations: 253.8 kB / 1.041 GB, free: 12.92 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/3.943, allocations: 0 / 1.041 GB, free: 12.92 MB / 0.795 GB (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 --timeout=50 --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) 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