Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01121/0.01121, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.002449/0.002449, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.636/1.636, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 66.61 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2971, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002797/0.2999, allocations: 1.005 MB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3014, allocations: 0.9713 MB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3015, allocations: 0 / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.3016, allocations: 15.91 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.3018, allocations: 23.73 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.3021, allocations: 63.88 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3023, allocations: 159.5 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.3025, allocations: 88.17 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.3027, allocations: 63.72 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3028, allocations: 75.67 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.3029, allocations: 16 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.3029, allocations: 16 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.3029, allocations: 35.84 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.303, allocations: 67.66 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.3033, allocations: 210 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3033, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3033, allocations: 4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3033, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 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.0007992/0.3041, allocations: 448.1 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3042, allocations: 8.031 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.3043, allocations: 42.75 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.3043, allocations: 16.75 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.3048, allocations: 261.8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3048, allocations: 12.66 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3049, allocations: 12.38 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.3052, allocations: 151.7 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3052, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3053, allocations: 8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3053, allocations: 4 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.3056, allocations: 120.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.3063, allocations: 460.1 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.3067, allocations: 110.6 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.307, allocations: 48.83 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.307, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3071, allocations: 30.56 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.3071, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0006719/0.3078, allocations: 169.4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.3078, allocations: 55.41 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.308, allocations: 153 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.308, allocations: 29.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3082, allocations: 119.8 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.3082, allocations: 35.55 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.3083, allocations: 37.64 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3085, allocations: 326.8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3086, allocations: 47.97 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3088, allocations: 67.39 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.3091, allocations: 119.6 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3091, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000378/0.3095, allocations: 141.4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3095, allocations: 10.03 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3096, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3096, allocations: 8.094 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.3098, allocations: 27.91 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3098, allocations: 8 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3099, allocations: 15.92 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.3099, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 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.0001193/0.31, allocations: 129.8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3101, allocations: 15.81 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.3101, allocations: 16.7 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3101, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3101, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3102, allocations: 3.938 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3104, allocations: 229.5 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3104, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.3105, allocations: 27.91 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3106, allocations: 7.938 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3106, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3106, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3106, allocations: 4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.311, allocations: 227.3 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.3111, allocations: 88.86 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.3111, allocations: 8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3112, allocations: 7.984 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.3113, allocations: 19.97 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3113, allocations: 11.94 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.3114, allocations: 105.7 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.553e-06/0.3114, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002911/0.3117, allocations: 31.88 kB / 1.094 GB, free: 10.87 MB / 0.8575 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.0007173/0.3124, allocations: 0.767 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.3128, allocations: 108.1 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3128, allocations: 0 / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.313, allocations: 64.31 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3134, allocations: 13.17 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3158, allocations: 1.719 MB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3162, allocations: 0.7162 MB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.053e-05/0.3163, allocations: 12.66 kB / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3164, allocations: 55.34 kB / 1.097 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.3164, allocations: 0 / 1.097 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.3412, allocations: 2.752 MB / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.905, allocations: 15.55 kB / 1.1 GB, free: 4.707 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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