Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.008797/0.008797, allocations: 101.3 kB / 15.73 MB, free: 6.031 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.001905/0.001905, allocations: 194.9 kB / 16.67 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 63 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2812, allocations: 140.4 MB / 1.088 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003163/0.2844, allocations: 0.9985 MB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.2865, allocations: 0.9713 MB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.2868, allocations: 4 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.2869, allocations: 15.91 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.2872, allocations: 23.73 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.2875, allocations: 59.94 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2878, allocations: 159.5 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.2881, allocations: 92.17 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.2884, allocations: 67.7 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2885, allocations: 75.67 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.2886, allocations: 16 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.974e-05/0.2886, allocations: 16 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.2887, allocations: 35.8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.2888, allocations: 67.66 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.2891, allocations: 206.1 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2892, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2892, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.2892, allocations: 0 / 1.09 GB, free: 15.19 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.0009216/0.2901, allocations: 444 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.2902, allocations: 15.97 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.05e-05/0.2903, allocations: 50.73 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.2903, allocations: 16.75 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.2909, allocations: 258 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.2909, allocations: 12.66 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.291, allocations: 12.38 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.2913, allocations: 143.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2914, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.2914, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2914, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.2918, allocations: 116.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.2926, allocations: 468 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.2929, allocations: 98.62 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.2931, allocations: 52.89 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.2931, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2932, allocations: 34.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.2932, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005983/0.2938, allocations: 173.4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2938, allocations: 55.41 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.294, allocations: 151.5 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.294, allocations: 25.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.2941, allocations: 123.8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.2942, allocations: 31.55 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.2942, allocations: 37.7 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2944, allocations: 326.8 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2945, allocations: 43.97 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2947, allocations: 71.39 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.295, allocations: 111.3 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.295, allocations: 3.984 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003896/0.2954, allocations: 145.8 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2955, allocations: 13.7 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2955, allocations: 4.094 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2955, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2957, allocations: 23.98 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2957, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2958, allocations: 19.92 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2958, allocations: 7.984 kB / 1.093 GB, free: 11.9 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.0001115/0.2959, allocations: 129.7 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.296, allocations: 15.81 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.296, allocations: 20.7 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2961, allocations: 3.938 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2961, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2961, allocations: 7.938 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.2963, allocations: 233.5 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2963, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2965, allocations: 15.98 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2965, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2965, allocations: 8 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2965, allocations: 4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2965, allocations: 0 / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.2969, allocations: 227.3 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.297, allocations: 96.84 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.297, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2971, allocations: 12 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.2972, allocations: 15.97 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2972, allocations: 7.938 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.2973, allocations: 114.1 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2973, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002616/0.2976, allocations: 23.94 kB / 1.094 GB, free: 10.88 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.0006641/0.2982, allocations: 0.7669 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.2986, allocations: 111.8 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2986, allocations: 192 / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.2988, allocations: 55.91 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.2991, allocations: 23.92 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3013, allocations: 1.708 MB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3015, allocations: 0.72 MB / 1.097 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.537e-05/0.3016, allocations: 16.64 kB / 1.097 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.3017, allocations: 51.36 kB / 1.097 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3017, allocations: 0 / 1.097 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.3211, allocations: 2.753 MB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.69, allocations: 12.44 kB / 1.1 GB, free: 4.715 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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