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: 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_9_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_9_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.001498/0.001498, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001652/0.001652, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.336/2.336, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.146, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002576/1.149, allocations: 0.8777 MB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001781/1.151, allocations: 1.148 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/1.151, allocations: 1.188 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.912e-05/1.151, allocations: 14.78 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/1.151, allocations: 14.56 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00057/1.152, allocations: 143.8 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/1.152, allocations: 160.5 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/1.152, allocations: 49.58 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/1.152, allocations: 57.12 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/1.152, allocations: 71.97 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/1.152, allocations: 13.81 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.669e-05/1.153, allocations: 24.73 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/1.153, allocations: 23.48 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/1.153, allocations: 58.86 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/1.153, allocations: 178.9 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.153, allocations: 1.062 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/1.153, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.153, allocations: 0 / 1.091 GB, free: 3.723 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.0006594/1.154, allocations: 445.1 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.154, allocations: 8.5 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/1.154, allocations: 17.09 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/1.154, allocations: 228.9 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.154, allocations: 5.906 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/1.154, allocations: 17.23 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/1.155, allocations: 100.4 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/1.155, allocations: 0 / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.155, allocations: 1.484 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/1.155, allocations: 2.281 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/1.155, allocations: 68.83 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/1.156, allocations: 395.8 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/1.156, allocations: 72.89 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/1.156, allocations: 32.3 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/1.156, allocations: 4.906 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/1.156, allocations: 84.02 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/1.156, allocations: 0 / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000465/1.157, allocations: 133.8 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/1.157, allocations: 56.44 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/1.157, allocations: 136.4 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/1.157, allocations: 32.17 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/1.157, allocations: 113.4 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/1.157, allocations: 20.81 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/1.157, allocations: 37.8 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/1.157, allocations: 319.9 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/1.157, allocations: 46.72 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/1.157, allocations: 75.39 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/1.158, allocations: 132.2 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.158, allocations: 0.5625 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004495/1.158, allocations: 200.8 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/1.158, allocations: 34.89 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.158, allocations: 4.875 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.158, allocations: 1.5 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/1.158, allocations: 15.25 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.158, allocations: 1.688 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/1.159, allocations: 37.8 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/1.159, allocations: 11.27 kB / 1.094 GB, free: 1.492 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 8.671e-05/1.159, allocations: 122.1 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/1.159, allocations: 11.83 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/1.159, allocations: 15.53 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.159, allocations: 0.9062 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.159, allocations: 0.9375 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.159, allocations: 0.5625 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.159, allocations: 205.1 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.159, allocations: 0 / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/1.159, allocations: 21.52 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.159, allocations: 0.5625 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.159, allocations: 5.859 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.159, allocations: 0.5625 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.159, allocations: 0.9688 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/1.159, allocations: 129.2 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/1.159, allocations: 87.62 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/1.159, allocations: 6.234 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/1.16, allocations: 10.34 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/1.16, allocations: 5.375 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.16, allocations: 2.625 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.362e-05/1.16, allocations: 99.69 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.16, allocations: 0 / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002421/1.16, allocations: 22.92 kB / 1.095 GB, free: 0.8477 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.0001656/1.16, allocations: 112.6 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004206/1.161, allocations: 170.2 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.161, allocations: 0 / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/1.161, allocations: 41.56 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/1.161, allocations: 26.44 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/1.161, allocations: 224.6 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.162, allocations: 0.6979 MB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/1.162, allocations: 12.59 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.162, allocations: 0 / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.00431/1.166, allocations: 1.445 MB / 1.098 GB, free: 15.6 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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