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.001143/0.001143, 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.001176/0.001176, allocations: 194.2 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.251/2.251, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4851, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001983/0.4871, allocations: 1.014 MB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.4881, allocations: 0.9674 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.4882, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.4883, allocations: 15.8 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.4884, allocations: 19.73 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.4885, allocations: 59.86 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.4887, allocations: 159.6 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4888, allocations: 88.19 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.489, allocations: 67.7 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.96e-05/0.4891, allocations: 67.69 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.4891, allocations: 16 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.254e-05/0.4891, allocations: 16.05 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.4892, allocations: 39.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.4892, allocations: 71.66 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.4894, allocations: 193.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4894, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4894, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4894, allocations: 0 / 1.02 GB, free: 15.69 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.0005485/0.49, allocations: 443.1 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.49, allocations: 8.031 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.4901, allocations: 46.73 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.4901, allocations: 20.75 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.4905, allocations: 260.2 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4905, allocations: 8.656 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4906, allocations: 12.38 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.4908, allocations: 140.4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4909, allocations: 3.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.4909, allocations: 7.984 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4909, allocations: 7.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.4912, allocations: 120.7 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.4917, allocations: 468 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.492, allocations: 114.5 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4921, allocations: 52.92 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.4922, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.4922, allocations: 30.56 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.4922, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004766/0.4927, allocations: 173.4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4927, allocations: 55.34 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4928, allocations: 158.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4928, allocations: 25.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.4929, allocations: 123.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.4929, allocations: 31.56 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.493, allocations: 41.69 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.4931, allocations: 322.8 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4932, allocations: 43.95 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.4934, allocations: 67.34 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.4936, allocations: 111.3 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4936, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003141/0.494, allocations: 149.8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.494, allocations: 8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.494, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.494, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4942, allocations: 31.91 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4942, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.4943, allocations: 27.77 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4943, allocations: 8.094 kB / 1.023 GB, free: 12.37 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 8.29e-05/0.4944, allocations: 128.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.4944, allocations: 7.906 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.4944, allocations: 16.72 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4944, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4945, allocations: 7.984 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4945, allocations: 3.984 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4947, allocations: 233.4 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4947, allocations: 3.938 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.4948, allocations: 27.97 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4948, allocations: 0 / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4948, allocations: 8 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4948, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4948, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.4952, allocations: 227.3 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.4952, allocations: 88.95 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.4952, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.4953, allocations: 15.98 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.4954, allocations: 15.92 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4954, allocations: 7.984 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.115e-05/0.4955, allocations: 111.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4955, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002264/0.4957, allocations: 23.91 kB / 1.024 GB, free: 11.37 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.0005504/0.4963, allocations: 0.767 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.4966, allocations: 119.8 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4966, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4968, allocations: 59.95 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.497, allocations: 13.81 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.4988, allocations: 1.704 MB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.499, allocations: 0.7084 MB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.208e-05/0.4991, allocations: 16.64 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.4992, allocations: 47.41 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.4992, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.384/1.883, allocations: 2.684 MB / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.921/10.8, allocations: 8.719 kB / 1.03 GB, free: 5.281 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