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.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.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.000915/0.000915, allocations: 90.52 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.007091/0.007091, allocations: 171.1 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.147/1.147, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.147/2.147, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002939, allocations: 12 kB / 0.873 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.471, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.0009766/0.472, allocations: 0.7035 MB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.473, allocations: 0.9714 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.4731, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.4731, allocations: 7.922 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.4732, allocations: 11.86 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.4733, allocations: 43.97 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.4735, allocations: 151.6 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.4736, allocations: 76.19 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4737, allocations: 59.7 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.4738, allocations: 47.7 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.4738, allocations: 4 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.4739, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.4739, allocations: 19.86 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.474, allocations: 85.3 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.4741, allocations: 189.5 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4741, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4741, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.4741, allocations: 0 / 1.025 GB, free: 13.44 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.0004937/0.4746, allocations: 423.3 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.4747, allocations: 8.031 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.4747, allocations: 50.73 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.4748, allocations: 16.75 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4751, allocations: 269.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4751, allocations: 8.656 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4752, allocations: 12.38 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.4755, allocations: 156.4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4755, allocations: 3.938 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4755, allocations: 8 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4755, allocations: 3.984 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.4758, allocations: 128.8 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.4763, allocations: 476.1 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.4766, allocations: 106.7 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.4767, allocations: 60.83 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4767, allocations: 3.984 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.4768, allocations: 38.5 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4768, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004757/0.4772, allocations: 189.4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.4773, allocations: 55.34 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4774, allocations: 157.7 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4774, allocations: 33.7 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.4775, allocations: 115.8 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.4775, allocations: 31.56 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.4775, allocations: 21.7 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.4776, allocations: 330.8 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4778, allocations: 43.97 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4779, allocations: 83.33 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.4782, allocations: 119.8 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4782, allocations: 3.938 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003229/0.4785, allocations: 165.4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4785, allocations: 5.875 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4785, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.4786, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.4787, allocations: 28.08 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4787, allocations: 7.938 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.4788, allocations: 19.83 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4788, allocations: 7.938 kB / 1.029 GB, free: 10.05 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 9.004e-05/0.4789, allocations: 134.3 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4789, allocations: 7.906 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.479, allocations: 20.72 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.479, allocations: 0 / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.479, allocations: 0 / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.479, allocations: 3.984 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.4792, allocations: 237.4 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4792, allocations: 4 kB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4793, allocations: 19.98 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4793, allocations: 3.938 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.4793, allocations: 3.984 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4793, allocations: 4 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4793, allocations: 0 / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.4797, allocations: 247.3 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.4797, allocations: 85.02 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.4797, allocations: 0 / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.4798, allocations: 11.98 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.4799, allocations: 11.98 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4799, allocations: 8 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.48, allocations: 111.2 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.48, allocations: 0 / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002127/0.4802, allocations: 31.84 kB / 1.029 GB, free: 9.035 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.0005471/0.4807, allocations: 0.7825 MB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4811, allocations: 128 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4811, allocations: 0 / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.4812, allocations: 63.89 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.4815, allocations: 15.94 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.4832, allocations: 1.782 MB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.4834, allocations: 0.7163 MB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.683e-05/0.4835, allocations: 16.64 kB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.4836, allocations: 43.42 kB / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.4836, allocations: 0 / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.457/2.941, allocations: 2.367 MB / 1.035 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/2.941, allocations: 259.6 kB / 1.035 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/4.94, allocations: 4 kB / 1.035 GB, free: 2.906 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