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.006004/0.006004, allocations: 99.38 kB / 15.73 MB, free: 6.023 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.001293/0.001294, allocations: 187.6 kB / 16.67 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 60.12 kB / 0.9505 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3241, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002972/0.3272, allocations: 0.8831 MB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3296, allocations: 1.145 MB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3298, allocations: 0 / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.957e-05/0.3298, allocations: 7.875 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.33, allocations: 19.8 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.3308, allocations: 141.9 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.3311, allocations: 167.7 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.3313, allocations: 49.56 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3315, allocations: 63.77 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.3317, allocations: 63.73 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.3318, allocations: 16 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3319, allocations: 27.98 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.332, allocations: 19.92 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3321, allocations: 63.7 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.3324, allocations: 162.3 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3324, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3324, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.3325, allocations: 4 kB / 1.09 GB, free: 15.12 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.0009678/0.3334, allocations: 449.6 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.3335, allocations: 8.031 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.362e-05/0.3336, allocations: 42.73 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.3337, allocations: 12.84 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.3343, allocations: 228.3 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3343, allocations: 8.375 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3343, allocations: 12.31 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.3346, allocations: 103.4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3346, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3347, allocations: 8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3347, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.3349, allocations: 63.95 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.3356, allocations: 400.3 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.3359, allocations: 58.55 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.336, allocations: 44.95 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.336, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.3363, allocations: 83.31 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 4.508e-06/0.3364, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005045/0.3369, allocations: 149.4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3369, allocations: 51.41 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3371, allocations: 129.8 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.3371, allocations: 29.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3373, allocations: 107.9 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3373, allocations: 23.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3374, allocations: 37.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3376, allocations: 318.8 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.3378, allocations: 51.91 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.338, allocations: 79.33 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.3383, allocations: 133 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3383, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004227/0.3387, allocations: 183.2 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.3388, allocations: 41.72 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3388, allocations: 11.88 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3388, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3389, allocations: 20.08 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3389, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3392, allocations: 39.81 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3392, allocations: 11.98 kB / 1.093 GB, free: 11.96 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.0001174/0.3393, allocations: 117.8 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.3393, allocations: 11.84 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.3394, allocations: 16.38 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.3394, allocations: 3.984 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3394, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3394, allocations: 3.938 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3396, allocations: 197.6 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3396, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.3397, allocations: 15.98 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3397, allocations: 3.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3397, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3397, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3397, allocations: 4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.34, allocations: 136.9 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3401, allocations: 89.02 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3401, allocations: 3.938 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.3402, allocations: 7.984 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3402, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3403, allocations: 11.92 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.3403, allocations: 106.3 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3403, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002425/0.3406, allocations: 28 kB / 1.094 GB, free: 11.12 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.0006529/0.3412, allocations: 0.6719 MB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.3417, allocations: 171.3 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3417, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3418, allocations: 39.92 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3421, allocations: 30.3 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3443, allocations: 1.635 MB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3446, allocations: 0.6924 MB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.109e-05/0.3447, allocations: 12.42 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.3448, allocations: 35.42 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of SimCode: time 8.71e-07/0.3448, allocations: 0 / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.3737, allocations: 2.875 MB / 1.1 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/9.09, allocations: 8.5 kB / 1.1 GB, free: 4.973 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