Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.009972/0.009971, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001862/0.001862, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.643/2.643, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002301/0.2921, allocations: 0.9938 MB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2935, allocations: 0.9752 MB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2936, allocations: 4 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.458e-05/0.2937, allocations: 15.8 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2938, allocations: 27.73 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.2941, allocations: 63.88 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.2943, allocations: 151.7 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2945, allocations: 88.17 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.2947, allocations: 63.72 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2948, allocations: 79.61 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.2948, allocations: 23.94 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.5e-05/0.2949, allocations: 16 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.2949, allocations: 35.91 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.295, allocations: 67.59 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.2952, allocations: 210.1 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2952, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2952, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2952, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 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.0006675/0.2959, allocations: 448 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.296, allocations: 16.03 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.296, allocations: 42.75 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.2961, allocations: 20.73 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.2965, allocations: 248.2 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.2965, allocations: 12.66 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.2966, allocations: 12.38 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.2969, allocations: 144.4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2969, allocations: 3.938 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2969, allocations: 4 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.2969, allocations: 7.984 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.2973, allocations: 120.6 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.2979, allocations: 460.1 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.2982, allocations: 118.6 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2984, allocations: 52.77 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2984, allocations: 4 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2984, allocations: 30.56 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.2984, allocations: 4 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005446/0.299, allocations: 169.4 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.299, allocations: 51.41 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2992, allocations: 150.3 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2992, allocations: 29.7 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.2993, allocations: 131.7 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.2993, allocations: 27.64 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.2994, allocations: 33.7 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2995, allocations: 330.7 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2996, allocations: 39.97 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.2998, allocations: 75.39 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.3001, allocations: 103.3 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3001, allocations: 0 / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003573/0.3005, allocations: 149.3 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3005, allocations: 8 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3005, allocations: 7.938 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3006, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3007, allocations: 35.91 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3007, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.3008, allocations: 11.98 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3009, allocations: 8.094 kB / 1.172 GB, free: 1.188 MB / 0.92 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 0.0001075/0.301, allocations: 132.2 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.301, allocations: 11.81 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.3011, allocations: 20.7 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3011, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3011, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3011, allocations: 4 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3013, allocations: 225.5 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3013, allocations: 11.98 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3015, allocations: 23.92 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3015, allocations: 0 / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3015, allocations: 4 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3015, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3015, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.3019, allocations: 239.7 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3019, allocations: 85.02 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.302, allocations: 0 / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3021, allocations: 11.98 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.3021, allocations: 19.97 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.3022, allocations: 4 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.895e-05/0.3022, allocations: 109.5 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3022, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002646/0.3025, allocations: 31.84 kB / 1.173 GB, free: 188 kB / 0.92 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.0006676/0.3032, allocations: 0.7669 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.3035, allocations: 111.9 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3036, allocations: 0 / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3037, allocations: 55.91 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3041, allocations: 19.8 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3062, allocations: 1.723 MB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3065, allocations: 0.7161 MB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.568e-05/0.3066, allocations: 16.64 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.3067, allocations: 51.41 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of SimCode: time 5.92e-07/0.3067, allocations: 0 / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.3258, allocations: 2.708 MB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.298, allocations: 22.42 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,actAirSet.uOpeMod,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.VActCooMax_flow,actAirSet.VActMin_flow Variables in the result:actAirSet.VActCooMax_flow,actAirSet.VActMin_flow,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.uOpeMod,minFlo.amplitude,minFlo.freqHz,minFlo.offset,minFlo.phase,minFlo.startTime,minFlo.y,opeMod.duration,opeMod.height,opeMod.offset,opeMod.startTime,opeMod.y,reaToInt2.u,reaToInt2.y,round2.n,round2.u,round2.y,time