Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001961/0.001961, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 72.62 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2522, allocations: 159.1 MB / 1.064 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002198/0.2544, allocations: 0.8812 MB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2559, allocations: 1.166 MB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.256, allocations: 0 / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.256, allocations: 11.86 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.2561, allocations: 15.86 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.2565, allocations: 142.8 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.2567, allocations: 159.7 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2569, allocations: 49.56 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.257, allocations: 59.83 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.2571, allocations: 59.75 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.2571, allocations: 16 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.2572, allocations: 27.98 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.2572, allocations: 19.92 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.2573, allocations: 67.64 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2576, allocations: 163.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2576, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2576, allocations: 3.938 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2576, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 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.0006598/0.2583, allocations: 452.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2583, allocations: 8.031 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.2583, allocations: 46.67 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.2584, allocations: 12.84 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.2589, allocations: 233.6 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2589, allocations: 12.38 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.259, allocations: 12.31 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2592, allocations: 95.67 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.2592, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2592, allocations: 3.984 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2593, allocations: 4 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.2595, allocations: 67.95 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.2601, allocations: 396.3 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2603, allocations: 62.55 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.2604, allocations: 40.95 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2604, allocations: 3.938 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.2606, allocations: 83.38 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.2606, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004421/0.2611, allocations: 137.5 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.2611, allocations: 51.41 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2613, allocations: 135.7 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2613, allocations: 29.7 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.2614, allocations: 111.9 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.2614, allocations: 19.72 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.2615, allocations: 41.69 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2617, allocations: 314.8 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.2618, allocations: 47.95 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.262, allocations: 75.39 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.2623, allocations: 137 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2623, allocations: 0 / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004556/0.2628, allocations: 203.1 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.2629, allocations: 43.66 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2629, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2629, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.263, allocations: 15.98 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.263, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.2632, allocations: 39.81 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2633, allocations: 12.08 kB / 1.07 GB, free: 8.074 MB / 0.8262 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.0001179/0.2634, allocations: 126.2 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.2634, allocations: 11.84 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.2634, allocations: 8.375 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2634, allocations: 4 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2635, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2635, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.2636, allocations: 193.6 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2637, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.2637, allocations: 19.98 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2638, allocations: 7.938 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2638, allocations: 0 / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2638, allocations: 0 / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2638, allocations: 3.984 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2641, allocations: 140.9 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.2642, allocations: 85.02 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2642, allocations: 11.94 kB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.2643, allocations: 3.984 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.2643, allocations: 7.984 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2643, allocations: 4 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.2644, allocations: 101.4 kB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2644, allocations: 0 / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002386/0.2646, allocations: 27.94 kB / 1.07 GB, free: 7.238 MB / 0.8262 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.0006362/0.2653, allocations: 0.6714 MB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.2657, allocations: 179.2 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2657, allocations: 4.188 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2658, allocations: 35.97 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.2661, allocations: 23.91 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.2682, allocations: 1.632 MB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2686, allocations: 0.7002 MB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.726e-05/0.2686, allocations: 12.42 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.2687, allocations: 27.44 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2687, allocations: 0 / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2921, allocations: 2.809 MB / 1.076 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.792, allocations: 4.344 kB / 1.076 GB, free: 1.148 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches