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.008198/0.008198, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001872/0.001873, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.5/1.5, 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.033, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002447/1.035, allocations: 0.8836 MB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001789/1.037, allocations: 1.149 MB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/1.037, allocations: 1.938 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/1.037, allocations: 9.609 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.528e-05/1.038, allocations: 14.5 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/1.038, allocations: 152.2 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/1.038, allocations: 155.3 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/1.039, allocations: 46.56 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/1.039, allocations: 65.12 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/1.039, allocations: 58.22 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/1.039, allocations: 18.88 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/1.039, allocations: 29.44 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/1.039, allocations: 22.69 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/1.039, allocations: 64.11 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/1.04, allocations: 166 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.04, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/1.04, allocations: 1.031 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.04, allocations: 0 / 1.091 GB, free: 3.719 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.0007137/1.04, allocations: 445.7 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.04, allocations: 8.5 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/1.04, allocations: 16.81 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/1.041, allocations: 236.1 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.041, allocations: 6.078 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/1.041, allocations: 13.94 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/1.041, allocations: 92.47 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.041, allocations: 8.75 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/1.041, allocations: 4.938 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.041, allocations: 5.547 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/1.042, allocations: 64.94 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/1.042, allocations: 391.6 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/1.042, allocations: 73.28 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/1.043, allocations: 32.59 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/1.043, allocations: 1.031 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/1.043, allocations: 90.88 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/1.043, allocations: 0 / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000475/1.043, allocations: 137.9 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/1.043, allocations: 54.02 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/1.043, allocations: 138.2 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.044, allocations: 32.84 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/1.044, allocations: 101.8 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/1.044, allocations: 28.64 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/1.044, allocations: 38.09 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/1.044, allocations: 319.8 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.044, allocations: 47 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/1.044, allocations: 75.47 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/1.044, allocations: 135 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.044, allocations: 1 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004685/1.045, allocations: 197.4 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/1.045, allocations: 33.53 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.045, allocations: 5.688 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.045, allocations: 1.781 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/1.045, allocations: 18.45 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.045, allocations: 2.531 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/1.045, allocations: 34.11 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.045, allocations: 14.14 kB / 1.094 GB, free: 1.477 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.0001035/1.046, allocations: 126.4 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/1.046, allocations: 7.062 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/1.046, allocations: 16.52 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.046, allocations: 0.9688 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.046, allocations: 0 / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.046, allocations: 0.5625 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.046, allocations: 198 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.046, allocations: 4 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/1.046, allocations: 24.55 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.046, allocations: 1.984 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/1.046, allocations: 4.688 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.046, allocations: 1.406 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.046, allocations: 1 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/1.046, allocations: 128.9 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/1.046, allocations: 87.75 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/1.046, allocations: 5.438 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/1.047, allocations: 10.02 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/1.047, allocations: 5.938 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.047, allocations: 2.344 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.665e-05/1.047, allocations: 102.7 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.22e-07/1.047, allocations: 0.6875 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002518/1.047, allocations: 25.91 kB / 1.094 GB, free: 0.8281 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.000167/1.047, allocations: 107.3 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004203/1.048, allocations: 166.2 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.048, allocations: 4 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/1.048, allocations: 33.69 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/1.048, allocations: 23.95 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/1.048, allocations: 202.6 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.049, allocations: 0.7011 MB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.65e-05/1.049, allocations: 11.3 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/1.049, allocations: 12.7 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/1.049, allocations: 0 / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.006147/1.055, allocations: 1.541 MB / 1.097 GB, free: 15.62 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