Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.001395/0.001395, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001586/0.001586, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.22/2.22, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4675, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001798/0.4693, allocations: 1.063 MB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.4701, allocations: 0.9714 MB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.4702, allocations: 0 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.4702, allocations: 7.875 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.4703, allocations: 19.86 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.4705, allocations: 47.95 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.4706, allocations: 155.6 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.4707, allocations: 88.17 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4709, allocations: 75.7 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.4709, allocations: 63.69 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.471, allocations: 16 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.471, allocations: 20 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.471, allocations: 35.86 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.4711, allocations: 71.64 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.4713, allocations: 193.7 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4713, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4713, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4713, allocations: 3.938 kB / 1.02 GB, free: 15.88 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004969/0.4718, allocations: 451.1 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.4718, allocations: 8.031 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.4719, allocations: 46.73 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.4719, allocations: 16.75 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.4722, allocations: 256.1 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4723, allocations: 12.66 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.4723, allocations: 12.38 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.4726, allocations: 152.3 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4726, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4726, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.4726, allocations: 7.984 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.4729, allocations: 116.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.4734, allocations: 476 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.4736, allocations: 102.6 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.4738, allocations: 48.83 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4738, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.4738, allocations: 34.56 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.4738, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004375/0.4743, allocations: 173.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4743, allocations: 51.41 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.4744, allocations: 157.9 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4744, allocations: 25.7 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.4745, allocations: 123.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.4745, allocations: 31.55 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.4746, allocations: 33.7 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.4746, allocations: 330.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.4748, allocations: 35.97 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4749, allocations: 75.39 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4751, allocations: 115.3 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4752, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002921/0.4755, allocations: 145.5 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4755, allocations: 8 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.4755, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.4755, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4756, allocations: 27.92 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.4756, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.661e-05/0.4757, allocations: 23.92 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4758, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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 7.977e-05/0.4758, allocations: 140.1 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.4759, allocations: 11.84 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.4759, allocations: 20.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4759, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4759, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4759, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.4761, allocations: 237.4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4761, allocations: 12 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.4762, allocations: 15.98 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4762, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4763, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4763, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4763, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.4766, allocations: 231.3 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.4766, allocations: 92.94 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.4766, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4768, allocations: 11.98 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.4768, allocations: 15.98 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.4768, allocations: 4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.4769, allocations: 111.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4769, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.4771, allocations: 35.84 kB / 1.024 GB, free: 11.56 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: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005236/0.4777, allocations: 0.7575 MB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.478, allocations: 124.1 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.478, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.4781, allocations: 51.95 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4784, allocations: 23.88 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4801, allocations: 1.738 MB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.4803, allocations: 0.7239 MB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.505e-05/0.4803, allocations: 16.64 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.4804, allocations: 43.42 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4804, allocations: 0 / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.998/2.478, allocations: 2.524 MB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/2.478, allocations: 258.9 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.496/8.975, allocations: 2.812 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches