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.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 108 kB / 15.61 MB, free: 152 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.001708/0.001708, allocations: 194 kB / 16.53 MB, free: 6.664 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.225/2.225, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4983, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002416/0.5007, allocations: 1.427 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.5018, allocations: 1.1 MB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.063e-05/0.5019, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.541e-05/0.502, allocations: 35.53 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.5021, allocations: 35.53 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.5023, allocations: 115.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.5026, allocations: 340.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.5029, allocations: 214 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.503, allocations: 131.4 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5031, allocations: 151.2 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.5032, allocations: 36 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.756e-05/0.5032, allocations: 40 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.5033, allocations: 75.77 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.692e-05/0.5034, allocations: 159.1 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.5037, allocations: 452.7 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5037, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5037, allocations: 3.938 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5037, allocations: 0 / 1.022 GB, free: 14.17 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.0006653/0.5044, allocations: 0.5771 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.5044, allocations: 8.031 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.5045, allocations: 74.72 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.5045, allocations: 36.5 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.505, allocations: 332.9 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.505, allocations: 29.03 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.5051, allocations: 32.38 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.5055, allocations: 282.6 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5056, allocations: 3.938 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.5056, allocations: 12 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.5056, allocations: 11.94 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.5061, allocations: 238.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009349/0.507, allocations: 0.8075 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.5074, allocations: 228.2 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.5077, allocations: 116.7 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.5077, allocations: 4 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.5077, allocations: 38.56 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.312e-06/0.5077, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0006503/0.5084, allocations: 298.9 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5084, allocations: 55.34 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.5086, allocations: 204.7 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.5086, allocations: 29.7 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.5087, allocations: 180.1 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.5087, allocations: 82.84 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.5088, allocations: 69.97 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.5089, allocations: 326.8 kB / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.5091, allocations: 80.52 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5093, allocations: 144.4 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.5097, allocations: 218.1 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5097, allocations: 0 / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004735/0.5102, allocations: 277.2 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5102, allocations: 4 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5102, allocations: 0 / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5102, allocations: 7.938 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.5105, allocations: 55.91 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5105, allocations: 4 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.5106, allocations: 23.83 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.5106, allocations: 12 kB / 1.026 GB, free: 9.059 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.0001167/0.5108, allocations: 157.8 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.5108, allocations: 19.72 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.5113, allocations: 250 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.5113, allocations: 3.938 kB / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5113, allocations: 0 / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5113, allocations: 11.98 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.5116, allocations: 341.3 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5116, allocations: 3.938 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5118, allocations: 43.97 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5118, allocations: 0 / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5118, allocations: 0 / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5118, allocations: 11.94 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5119, allocations: 0 / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.5123, allocations: 332.8 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.5123, allocations: 92.92 kB / 1.028 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.5124, allocations: 4 kB / 1.028 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.5125, allocations: 15.92 kB / 1.028 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.5126, allocations: 23.97 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5126, allocations: 8 kB / 1.028 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.5127, allocations: 140.5 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5127, allocations: 7.938 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002674/0.513, allocations: 63.69 kB / 1.028 GB, free: 7.465 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.0006816/0.5137, allocations: 0.8686 MB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004777/0.5141, allocations: 227.6 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.5142, allocations: 0 / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.5144, allocations: 114.1 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5147, allocations: 29.94 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.5173, allocations: 2.368 MB / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.5175, allocations: 0.7636 MB / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.5177, allocations: 30.28 kB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5178, allocations: 95.41 kB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5178, allocations: 192 / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3627/0.8805, allocations: 3.976 MB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.635, allocations: 10.14 kB / 1.036 GB, free: 15 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