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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001545/0.001545, allocations: 187 kB / 17.34 MB, free: 5.742 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.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.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.14 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8284, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002179/0.8306, allocations: 0.8753 MB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.8321, allocations: 1.159 MB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.8322, allocations: 8 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.8322, allocations: 7.875 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.8323, allocations: 15.8 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.8328, allocations: 145.5 kB / 1.17 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.833, allocations: 167.6 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.8332, allocations: 41.58 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.8333, allocations: 59.83 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.8334, allocations: 67.73 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.8334, allocations: 20 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.8335, allocations: 27.98 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.8336, allocations: 23.91 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.8337, allocations: 63.72 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.8339, allocations: 163.2 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8339, allocations: 0 / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8339, allocations: 0 / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.8339, allocations: 0 / 1.17 GB, free: 1 MB / 0.8887 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.0006555/0.8346, allocations: 446.7 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.8346, allocations: 16.88 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.8347, allocations: 12.84 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.8351, allocations: 233.1 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.8352, allocations: 16.27 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.8352, allocations: 12.38 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.8354, allocations: 93.95 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8355, allocations: 8 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.8355, allocations: 4 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8355, allocations: 0 / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.8357, allocations: 59.95 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.8363, allocations: 396.4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.8364, allocations: 66.55 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.8366, allocations: 40.89 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.8366, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.8368, allocations: 87.3 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.8368, allocations: 4 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004254/0.8373, allocations: 133.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.8373, allocations: 59.34 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.8374, allocations: 139.8 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.8375, allocations: 25.7 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.8375, allocations: 107.9 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.8376, allocations: 31.62 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.8377, allocations: 37.7 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8378, allocations: 322.8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.8379, allocations: 39.97 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.8381, allocations: 75.39 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.8384, allocations: 133 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8384, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004083/0.8388, allocations: 191.2 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.8389, allocations: 41.69 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8389, allocations: 3.938 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8389, allocations: 7.984 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.839, allocations: 15.98 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.839, allocations: 4.141 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.8392, allocations: 35.88 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.8393, allocations: 7.984 kB / 1.173 GB, free: 13.88 MB / 0.9044 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.811e-05/0.8394, allocations: 129.8 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.8394, allocations: 7.906 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.8394, allocations: 16.41 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8394, allocations: 3.938 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8395, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8395, allocations: 3.984 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.8397, allocations: 193.6 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8397, allocations: 0 / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.8398, allocations: 15.98 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8398, allocations: 4 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.8398, allocations: 3.938 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8398, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8398, allocations: 4 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.8401, allocations: 132.9 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.8401, allocations: 92.95 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.8402, allocations: 7.938 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.8402, allocations: 7.984 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.8403, allocations: 11.98 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.8403, allocations: 0 / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.8403, allocations: 99.27 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8403, allocations: 0 / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000224/0.8406, allocations: 28 kB / 1.174 GB, free: 13.04 MB / 0.9044 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.0001638/0.8407, allocations: 109.6 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.8411, allocations: 163.3 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8411, allocations: 0 / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.8413, allocations: 43.91 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.8415, allocations: 19.98 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.8419, allocations: 228.6 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.8422, allocations: 0.7002 MB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.8423, allocations: 15.44 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.8423, allocations: 0 / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of Templates: time 0.003138/0.8454, allocations: 1.453 MB / 1.176 GB, free: 10.25 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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