Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.008186/0.008186, allocations: 100.5 kB / 15.73 MB, free: 6.023 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.001732/0.001733, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.515/2.515, allocations: 390.3 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.95 kB / 0.9504 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 140.4 MB / 1.087 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002405/0.296, allocations: 1.007 MB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2975, allocations: 0.9713 MB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2976, allocations: 4 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.407e-05/0.2977, allocations: 19.73 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.2978, allocations: 23.8 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.2981, allocations: 63.81 kB / 1.09 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2983, allocations: 159.6 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2985, allocations: 84.19 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.2987, allocations: 71.7 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2988, allocations: 67.69 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.2988, allocations: 20 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.2989, allocations: 16 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.2989, allocations: 39.84 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.004e-05/0.299, allocations: 67.66 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2992, allocations: 206 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2992, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2993, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.2993, allocations: 0 / 1.09 GB, free: 15.34 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.0006645/0.2999, allocations: 448.1 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3, allocations: 12.03 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.3, allocations: 42.75 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.3001, allocations: 20.73 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.3005, allocations: 248.2 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3006, allocations: 16.59 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3006, allocations: 16.38 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.301, allocations: 147.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.301, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.301, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.301, allocations: 7.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.3013, allocations: 112.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.302, allocations: 468.1 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3023, allocations: 106.6 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.3025, allocations: 48.83 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3025, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3025, allocations: 34.56 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3026, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005311/0.3031, allocations: 173.4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3031, allocations: 51.41 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3033, allocations: 158.5 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3033, allocations: 25.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.3034, allocations: 127.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.3034, allocations: 31.55 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.3035, allocations: 33.7 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3036, allocations: 330.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3038, allocations: 39.97 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.304, allocations: 79.33 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.3043, allocations: 107.3 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3043, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003605/0.3046, allocations: 149.4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3047, allocations: 8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3047, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3047, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3049, allocations: 31.91 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3049, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.305, allocations: 20.02 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.305, allocations: 8 kB / 1.093 GB, free: 12.04 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.0001094/0.3051, allocations: 123.2 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.3052, allocations: 11.81 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.3052, allocations: 28.58 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3052, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3053, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3053, allocations: 7.938 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3055, allocations: 225.5 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3056, allocations: 11.98 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.3057, allocations: 15.98 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3057, allocations: 0 / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3057, allocations: 4 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3057, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3057, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.3061, allocations: 231.8 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.3062, allocations: 88.92 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.3062, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3063, allocations: 19.92 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.3064, allocations: 15.97 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3064, allocations: 7.938 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.3065, allocations: 103.3 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3065, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002672/0.3068, allocations: 27.94 kB / 1.094 GB, free: 11.04 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.0006808/0.3075, allocations: 0.7708 MB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3078, allocations: 111.9 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3078, allocations: 3.938 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.308, allocations: 51.97 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3084, allocations: 25.3 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3106, allocations: 1.719 MB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.311, allocations: 0.7123 MB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.581e-05/0.3111, allocations: 16.64 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.3112, allocations: 47.41 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of SimCode: time 1.823e-06/0.3112, allocations: 0 / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.3318, allocations: 2.756 MB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.263, allocations: 6.812 kB / 1.1 GB, free: 4.867 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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