Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",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.009163/0.009169, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001977/0.001977, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.89 kB / 0.9505 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 140.4 MB / 1.088 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002329/0.2981, allocations: 0.8721 MB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2999, allocations: 1.149 MB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3, allocations: 0 / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.855e-05/0.3001, allocations: 11.86 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.95e-05/0.3002, allocations: 19.81 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.3008, allocations: 149.2 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.301, allocations: 159.7 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3012, allocations: 49.5 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3013, allocations: 63.81 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3015, allocations: 63.75 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3015, allocations: 12 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.3016, allocations: 31.98 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.3017, allocations: 23.92 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.3018, allocations: 63.7 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.302, allocations: 170.3 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.302, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3021, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3021, allocations: 3.984 kB / 1.09 GB, free: 15.16 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007661/0.3028, allocations: 443.6 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3029, allocations: 11.97 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.303, allocations: 42.73 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.303, allocations: 16.84 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.3035, allocations: 224.3 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.3035, allocations: 20.3 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.3036, allocations: 12.38 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.3038, allocations: 89.78 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3038, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3038, allocations: 8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3039, allocations: 4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.3041, allocations: 59.94 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.3047, allocations: 400.3 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.3049, allocations: 66.55 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.305, allocations: 36.91 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.305, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.3053, allocations: 83.36 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3053, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004431/0.3057, allocations: 145.4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3058, allocations: 59.34 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3059, allocations: 133.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.306, allocations: 25.7 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.306, allocations: 111.9 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.3061, allocations: 15.72 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.3062, allocations: 41.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3063, allocations: 322.8 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3064, allocations: 43.97 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3066, allocations: 71.39 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.3069, allocations: 133 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3069, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004221/0.3073, allocations: 203.1 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3073, allocations: 45.73 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3074, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3074, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3075, allocations: 11.98 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3075, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.3077, allocations: 39.8 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3078, allocations: 4 kB / 1.093 GB, free: 12.01 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: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001112/0.3079, allocations: 129.8 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.3079, allocations: 11.84 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.3079, allocations: 12.36 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3079, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.308, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.308, allocations: 3.984 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3081, allocations: 193.6 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3081, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.3082, allocations: 8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3082, allocations: 11.92 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3083, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3083, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3083, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3086, allocations: 136.9 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.3086, allocations: 88.94 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3087, allocations: 3.938 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.3087, allocations: 8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3088, allocations: 15.98 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3088, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.3089, allocations: 101.3 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3089, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002456/0.3091, allocations: 24 kB / 1.094 GB, free: 11.16 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: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006061/0.3097, allocations: 0.6753 MB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.3101, allocations: 167.3 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3101, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3102, allocations: 40.09 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3105, allocations: 31.92 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3126, allocations: 1.624 MB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.313, allocations: 0.7002 MB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.313, allocations: 8.438 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.3131, allocations: 27.42 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.3131, allocations: 0 / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.3365, allocations: 2.896 MB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.396, allocations: 8.875 kB / 1.1 GB, free: 5.012 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches