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.009497/0.009497, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.002045/0.002045, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.166, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002338/1.169, allocations: 0.8815 MB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001678/1.17, allocations: 1.145 MB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/1.17, allocations: 4.812 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/1.17, allocations: 11.06 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/1.17, allocations: 15.31 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000562/1.171, allocations: 143.8 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/1.171, allocations: 162.5 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/1.172, allocations: 54.05 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/1.172, allocations: 53.09 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/1.172, allocations: 63.95 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/1.172, allocations: 14.34 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/1.172, allocations: 28.44 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/1.172, allocations: 23.62 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/1.172, allocations: 59.02 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/1.172, allocations: 171.1 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.172, allocations: 0 / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/1.172, allocations: 1.125 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.343e-06/1.172, allocations: 0 / 1.091 GB, free: 3.711 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.0006618/1.173, allocations: 444.2 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.173, allocations: 9.906 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/1.173, allocations: 15.5 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/1.174, allocations: 236.5 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/1.174, allocations: 14.55 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/1.174, allocations: 13.28 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/1.174, allocations: 95.69 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.174, allocations: 0.875 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.174, allocations: 1.453 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/1.174, allocations: 6.203 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/1.174, allocations: 64.11 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/1.175, allocations: 399.9 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/1.175, allocations: 64.62 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/1.175, allocations: 37.08 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/1.175, allocations: 0.75 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/1.176, allocations: 83.12 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/1.176, allocations: 0 / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004948/1.176, allocations: 141.8 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.176, allocations: 54.27 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.176, allocations: 143.2 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.176, allocations: 32.67 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/1.176, allocations: 105.9 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/1.176, allocations: 28.17 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/1.176, allocations: 34.47 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/1.177, allocations: 319.3 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/1.177, allocations: 47.08 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/1.177, allocations: 79.56 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/1.177, allocations: 123.4 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.177, allocations: 0.7812 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004496/1.178, allocations: 200.9 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.178, allocations: 34.2 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.178, allocations: 5.344 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.178, allocations: 1.469 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/1.178, allocations: 15.11 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.178, allocations: 6.391 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/1.178, allocations: 40.48 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/1.178, allocations: 8.188 kB / 1.093 GB, free: 1.473 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.809e-05/1.178, allocations: 122.3 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/1.178, allocations: 7.406 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/1.178, allocations: 19.41 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.178, allocations: 0.9062 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.178, allocations: 1.391 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.178, allocations: 4.516 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/1.178, allocations: 201.2 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.178, allocations: 4.594 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/1.179, allocations: 12.92 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.179, allocations: 1.547 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/1.179, allocations: 4.875 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/1.179, allocations: 1.766 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.179, allocations: 0 / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/1.179, allocations: 141 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/1.179, allocations: 84.19 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/1.179, allocations: 9.094 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/1.179, allocations: 5.75 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/1.179, allocations: 6.375 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.179, allocations: 3.031 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.405e-05/1.179, allocations: 98.56 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.179, allocations: 0.8125 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002383/1.179, allocations: 26.62 kB / 1.094 GB, free: 0.8203 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.0001732/1.18, allocations: 107.2 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003968/1.18, allocations: 165.3 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.18, allocations: 0 / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.18, allocations: 42.05 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/1.18, allocations: 22.25 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/1.181, allocations: 196 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/1.181, allocations: 0.6979 MB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.147e-05/1.181, allocations: 10.62 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/1.181, allocations: 12.7 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.181, allocations: 0 / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.005829/1.187, allocations: 1.545 MB / 1.097 GB, free: 15.61 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/jenkins/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