Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007331/0.007331, allocations: 102 kB / 15.73 MB, free: 6.051 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.001667/0.001667, allocations: 195 kB / 16.68 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3023, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002284/0.3047, allocations: 0.9988 MB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.306, allocations: 0.9796 MB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3061, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.187e-05/0.3062, allocations: 15.8 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.3064, allocations: 27.73 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.3066, allocations: 63.88 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3068, allocations: 176 kB / 1.21 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.307, allocations: 89.2 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3072, allocations: 71.7 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3073, allocations: 75.69 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3074, allocations: 16 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.782e-05/0.3074, allocations: 16 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.3074, allocations: 39.84 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.3075, allocations: 79.58 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3078, allocations: 211.5 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3078, allocations: 3.938 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3078, allocations: 0 / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.3078, allocations: 0 / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006729/0.3085, allocations: 454.8 kB / 1.211 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3085, allocations: 8.031 kB / 1.211 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.3086, allocations: 46.73 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.3086, allocations: 16.75 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.309, allocations: 252 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3091, allocations: 12.38 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3091, allocations: 16.38 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.3094, allocations: 158.5 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3095, allocations: 3.938 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3095, allocations: 4 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3095, allocations: 4 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.3098, allocations: 115.9 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.3105, allocations: 484 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3108, allocations: 130.5 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.3109, allocations: 52.81 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3109, allocations: 0 / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.311, allocations: 38.56 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.311, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005054/0.3115, allocations: 169.5 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3115, allocations: 55.34 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3117, allocations: 156.6 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3117, allocations: 29.7 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.3118, allocations: 124.2 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3118, allocations: 35.55 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.3119, allocations: 33.7 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.312, allocations: 330.8 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3121, allocations: 39.97 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3123, allocations: 75.39 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.3125, allocations: 111.6 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3126, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003332/0.3129, allocations: 161.3 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3129, allocations: 7.984 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3129, allocations: 0 / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.313, allocations: 4 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3131, allocations: 23.92 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3131, allocations: 4 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3132, allocations: 23.92 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3133, allocations: 8 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.926e-05/0.3134, allocations: 125.8 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.3134, allocations: 7.906 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.3134, allocations: 20.7 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3135, allocations: 0 / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3135, allocations: 3.938 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3135, allocations: 0 / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3137, allocations: 241.5 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3137, allocations: 4 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.3138, allocations: 19.98 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.3139, allocations: 4 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3139, allocations: 3.984 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3139, allocations: 0 / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3139, allocations: 0 / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.3142, allocations: 239.2 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.3143, allocations: 92.89 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3143, allocations: 0 / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3144, allocations: 15.98 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3145, allocations: 11.98 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3145, allocations: 4 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.097e-05/0.3146, allocations: 113.6 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3146, allocations: 4 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002448/0.3148, allocations: 27.91 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0006532/0.3155, allocations: 0.772 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3158, allocations: 111.9 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3159, allocations: 0 / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.316, allocations: 59.89 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3163, allocations: 23.88 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3184, allocations: 1.752 MB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3187, allocations: 0.7123 MB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.194e-05/0.3188, allocations: 21.06 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.3188, allocations: 43.42 kB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3188, allocations: 0 / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.3388, allocations: 2.813 MB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.802, allocations: 9.406 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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