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.009612/0.009612, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.002346/0.002346, allocations: 194.6 kB / 16.67 MB, free: 6.355 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.681/2.681, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2647, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001952/0.2667, allocations: 0.881 MB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2683, allocations: 1.163 MB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.2683, allocations: 0 / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.2684, allocations: 7.875 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.2685, allocations: 23.8 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.2691, allocations: 138.9 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2693, allocations: 167.6 kB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.2695, allocations: 45.58 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2696, allocations: 59.83 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.2697, allocations: 59.8 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.2697, allocations: 19.94 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.2698, allocations: 27.98 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.2699, allocations: 15.98 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.27, allocations: 67.7 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2702, allocations: 174.2 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2702, allocations: 0 / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.594e-06/0.2702, allocations: 0 / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2702, allocations: 4 kB / 1.169 GB, free: 4.426 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.0007076/0.2709, allocations: 441.7 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.271, allocations: 8.031 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.271, allocations: 42.73 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.2711, allocations: 8.844 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.2716, allocations: 236.3 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.2716, allocations: 12.33 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.2716, allocations: 16.38 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.2719, allocations: 93.77 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2719, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.2719, allocations: 4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2719, allocations: 4 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.2721, allocations: 59.94 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.2727, allocations: 396.4 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.2729, allocations: 62.55 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.273, allocations: 36.91 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2731, allocations: 7.984 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.2733, allocations: 83.36 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.2733, allocations: 0 / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004637/0.2738, allocations: 145.4 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.2738, allocations: 59.34 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.274, allocations: 136.3 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.274, allocations: 25.7 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.2741, allocations: 108 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.2741, allocations: 19.72 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.2742, allocations: 37.7 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2743, allocations: 318.8 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2745, allocations: 51.95 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.2746, allocations: 75.41 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.2749, allocations: 137 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2749, allocations: 4 kB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003973/0.2753, allocations: 191.1 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.2754, allocations: 41.64 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2754, allocations: 8 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2754, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2755, allocations: 15.98 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2755, allocations: 4.094 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.2757, allocations: 39.8 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2758, allocations: 8 kB / 1.172 GB, free: 1.27 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 0.0001079/0.2759, allocations: 121.8 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.2759, allocations: 15.83 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.2759, allocations: 12.38 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2759, allocations: 4 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.276, allocations: 96 / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.276, allocations: 3.938 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.2761, allocations: 193.6 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2761, allocations: 0 / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.2762, allocations: 15.98 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2762, allocations: 3.938 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2762, allocations: 4 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2763, allocations: 4 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2763, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2765, allocations: 136.9 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.2766, allocations: 85.02 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2766, allocations: 3.938 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.2767, allocations: 7.984 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.2767, allocations: 8 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2767, allocations: 0 / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.2768, allocations: 103.2 kB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2768, allocations: 0 / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000239/0.2771, allocations: 35.98 kB / 1.173 GB, free: 440 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.000585/0.2776, allocations: 0.6787 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.278, allocations: 159.9 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.278, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.2782, allocations: 51.98 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.0002311/0.2784, allocations: 20.94 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.2804, allocations: 1.642 MB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2807, allocations: 0.6963 MB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.243e-05/0.2807, allocations: 12.61 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.2808, allocations: 30.09 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2808, allocations: 3.938 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.3005, allocations: 2.852 MB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.855/9.155, allocations: 18.41 kB / 1.179 GB, free: 10.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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