Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005087/0.005087, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.00106/0.00106, allocations: 202 kB / 16.68 MB, free: 5.961 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.299, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002352/0.3014, allocations: 0.8693 MB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.303, allocations: 1.167 MB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.3031, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.3032, allocations: 7.875 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.3033, allocations: 27.78 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.3038, allocations: 147.3 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.304, allocations: 151.7 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3041, allocations: 53.55 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.3043, allocations: 59.84 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3044, allocations: 59.78 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.3044, allocations: 16 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.3045, allocations: 27.98 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.3045, allocations: 23.92 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.3046, allocations: 63.72 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.3048, allocations: 175.6 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3048, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.577e-06/0.3049, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3049, allocations: 3.938 kB / 1.169 GB, free: 4.43 MB / 0.92 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.0006257/0.3055, allocations: 444.7 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3055, allocations: 12.03 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.3056, allocations: 42.73 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.3056, allocations: 16.89 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.3061, allocations: 232.3 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3061, allocations: 4.375 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3061, allocations: 20.31 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3064, allocations: 97.77 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3064, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3064, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3064, allocations: 4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3066, allocations: 67.91 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.3071, allocations: 396.5 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3073, allocations: 70.48 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3074, allocations: 32.97 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3075, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3077, allocations: 91.34 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3077, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.00041/0.3081, allocations: 133.6 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3082, allocations: 59.39 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3083, allocations: 131.6 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3083, allocations: 33.69 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.3084, allocations: 112 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3084, allocations: 23.78 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.3085, allocations: 33.7 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3086, allocations: 326.8 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3087, allocations: 43.97 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.3089, allocations: 87.33 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.3092, allocations: 125 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3092, allocations: 0 / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003894/0.3096, allocations: 199.1 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.3096, allocations: 41.67 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3096, allocations: 3.938 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3097, allocations: 8.094 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.3098, allocations: 15.98 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3098, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.31, allocations: 31.95 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.31, allocations: 12 kB / 1.172 GB, free: 1.258 MB / 0.92 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 9.552e-05/0.3101, allocations: 117.8 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3101, allocations: 15.89 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.3102, allocations: 16.36 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3102, allocations: 0 / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3102, allocations: 0 / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3102, allocations: 0 / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3103, allocations: 205.6 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3103, allocations: 0 / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.3104, allocations: 15.98 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3104, allocations: 3.938 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3104, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3105, allocations: 8 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3105, allocations: 4 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3107, allocations: 125 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.3108, allocations: 92.98 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3108, allocations: 3.938 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.3109, allocations: 8 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.3109, allocations: 11.98 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3109, allocations: 0 / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.711e-05/0.311, allocations: 101.7 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.311, allocations: 0 / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002381/0.3112, allocations: 24 kB / 1.173 GB, free: 436 kB / 0.92 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.0005709/0.3118, allocations: 0.6904 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3122, allocations: 163.8 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3122, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3123, allocations: 39.97 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.3125, allocations: 28.41 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.3144, allocations: 1.645 MB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3147, allocations: 0.6924 MB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.171e-05/0.3147, allocations: 12.42 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.3148, allocations: 27.44 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3148, allocations: 0 / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.3324, allocations: 2.859 MB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.733, allocations: 11.81 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches