Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.01073/0.01073, allocations: 99.98 kB / 15.73 MB, free: 6.016 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.001992/0.001992, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.7 MB / 0.7453 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 71.83 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002139/1.222, allocations: 0.8741 MB / 1.227 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001462/1.223, allocations: 1.156 MB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/1.223, allocations: 4 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/1.223, allocations: 15.86 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/1.223, allocations: 11.81 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/1.224, allocations: 147 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/1.224, allocations: 167.7 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/1.224, allocations: 57.41 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/1.224, allocations: 63.77 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/1.225, allocations: 63.75 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/1.225, allocations: 12 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/1.225, allocations: 35.98 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/1.225, allocations: 23.91 kB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/1.225, allocations: 59.72 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/1.225, allocations: 171.9 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.225, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.323e-06/1.225, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.101e-05/1.225, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 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.0006418/1.226, allocations: 448.7 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/1.226, allocations: 8.031 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/1.226, allocations: 16.89 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/1.226, allocations: 228.4 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/1.226, allocations: 12.31 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/1.226, allocations: 8.375 kB / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/1.226, allocations: 108.4 kB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/1.227, allocations: 0 / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.227, allocations: 8 kB / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.227, allocations: 0 / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/1.227, allocations: 63.95 kB / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/1.227, allocations: 392.5 kB / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/1.227, allocations: 62.55 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/1.228, allocations: 40.95 kB / 1.23 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/1.228, allocations: 3.938 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/1.228, allocations: 91.28 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/1.228, allocations: 0 / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004136/1.228, allocations: 137.7 kB / 1.23 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.228, allocations: 51.41 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.228, allocations: 132 kB / 1.23 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/1.228, allocations: 33.7 kB / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/1.229, allocations: 104 kB / 1.23 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/1.229, allocations: 27.77 kB / 1.23 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/1.229, allocations: 41.7 kB / 1.23 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.229, allocations: 326.8 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/1.229, allocations: 43.97 kB / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/1.229, allocations: 75.39 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/1.229, allocations: 129 kB / 1.231 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.229, allocations: 0 / 1.231 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003862/1.23, allocations: 199.2 kB / 1.231 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/1.23, allocations: 42.98 kB / 1.231 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.23, allocations: 3.938 kB / 1.231 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.23, allocations: 3.984 kB / 1.231 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.23, allocations: 15.98 kB / 1.231 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/1.23, allocations: 4 kB / 1.231 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/1.23, allocations: 43.84 kB / 1.231 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/1.23, allocations: 4 kB / 1.231 GB, free: 7.531 MB / 0.9512 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.626e-05/1.23, allocations: 122.4 kB / 1.231 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/1.23, allocations: 7.953 kB / 1.231 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/1.23, allocations: 16.3 kB / 1.231 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.23, allocations: 7.938 kB / 1.231 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.23, allocations: 0 / 1.231 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.23, allocations: 0 / 1.231 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/1.231, allocations: 197.6 kB / 1.232 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.231, allocations: 4 kB / 1.232 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/1.231, allocations: 12 kB / 1.232 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.231, allocations: 0 / 1.232 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.231, allocations: 15.86 kB / 1.232 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.231, allocations: 0 / 1.232 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.231, allocations: 0 / 1.232 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/1.231, allocations: 129 kB / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/1.231, allocations: 85.05 kB / 1.232 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/1.231, allocations: 11.94 kB / 1.232 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/1.231, allocations: 8 kB / 1.232 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/1.231, allocations: 7.922 kB / 1.232 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/1.231, allocations: 4 kB / 1.232 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.547e-05/1.231, allocations: 99.27 kB / 1.232 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.231, allocations: 0 / 1.232 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002338/1.231, allocations: 23.94 kB / 1.232 GB, free: 6.695 MB / 0.9512 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.0001542/1.232, allocations: 111.2 kB / 1.232 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000366/1.232, allocations: 167.3 kB / 1.232 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.232, allocations: 0 / 1.232 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/1.232, allocations: 39.97 kB / 1.232 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/1.232, allocations: 19.92 kB / 1.232 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/1.233, allocations: 206.9 kB / 1.232 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.233, allocations: 0.7002 MB / 1.233 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.044e-05/1.233, allocations: 12.42 kB / 1.233 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/1.233, allocations: 11.44 kB / 1.233 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/1.233, allocations: 0 / 1.233 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of Templates: time 0.004083/1.237, allocations: 1.54 MB / 1.235 GB, free: 3.875 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches