Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.009947/0.009947, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001892/0.001893, allocations: 195.5 kB / 16.68 MB, free: 6.375 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.741/2.741, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002506/0.3592, allocations: 1.002 MB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3606, allocations: 0.9713 MB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3607, allocations: 4 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.3608, allocations: 15.8 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.361, allocations: 35.72 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.3612, allocations: 59.88 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3615, allocations: 155.7 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3617, allocations: 80.19 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3619, allocations: 63.72 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.362, allocations: 83.61 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.362, allocations: 16 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.3621, allocations: 16 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.3621, allocations: 31.91 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.3622, allocations: 67.61 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3625, allocations: 210.1 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3625, allocations: 3.984 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3625, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3625, allocations: 0 / 1.169 GB, free: 4.512 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.0007195/0.3632, allocations: 452 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3633, allocations: 8.031 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.3633, allocations: 46.73 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.3634, allocations: 16.75 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.3639, allocations: 256.2 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3639, allocations: 12.66 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3639, allocations: 12.38 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.3643, allocations: 144.4 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3643, allocations: 3.938 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3643, allocations: 8 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3643, allocations: 4 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.3647, allocations: 120.6 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.3654, allocations: 464.1 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3657, allocations: 102.7 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.3658, allocations: 52.75 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3659, allocations: 4 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3659, allocations: 42.44 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3659, allocations: 0 / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005406/0.3665, allocations: 165.4 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.3665, allocations: 55.39 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3667, allocations: 148.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3667, allocations: 37.69 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.3668, allocations: 119.7 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3668, allocations: 31.64 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.3669, allocations: 33.7 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.367, allocations: 326.8 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3672, allocations: 51.89 kB / 1.172 GB, free: 1.621 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.3673, allocations: 63.41 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.3676, allocations: 115.7 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3677, allocations: 4 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000375/0.368, allocations: 145.3 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3681, allocations: 8 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3681, allocations: 4 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3681, allocations: 0 / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.3683, allocations: 27.97 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3683, allocations: 12.02 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.3684, allocations: 12 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3684, allocations: 7.984 kB / 1.172 GB, free: 1.199 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.0001152/0.3686, allocations: 131.8 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.3686, allocations: 15.81 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3687, allocations: 8.719 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3687, allocations: 4 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3687, allocations: 0 / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3687, allocations: 7.984 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.3689, allocations: 233.5 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.369, allocations: 0 / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3691, allocations: 27.91 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3691, allocations: 4 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3691, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3691, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3691, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3695, allocations: 235.2 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3696, allocations: 81.02 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3696, allocations: 8 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3697, allocations: 7.984 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.3698, allocations: 11.98 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3698, allocations: 8 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.539e-05/0.3699, allocations: 111.2 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3699, allocations: 7.938 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002609/0.3702, allocations: 31.84 kB / 1.173 GB, free: 196 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.0007348/0.3709, allocations: 0.7669 MB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.3713, allocations: 104.2 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3713, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.3715, allocations: 64.11 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.0003626/0.3718, allocations: 16.02 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.3742, allocations: 1.727 MB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3745, allocations: 0.7122 MB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.922e-05/0.3746, allocations: 16.64 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.3747, allocations: 47.42 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.3747, allocations: 4 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.3958, allocations: 2.714 MB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/9.035, allocations: 13.38 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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