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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007876/0.007876, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001951/0.001951, allocations: 193 kB / 16.67 MB, free: 5.969 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3834, allocations: 157.4 MB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002039/0.3854, allocations: 0.8759 MB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3869, allocations: 1.167 MB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.387, allocations: 4 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.387, allocations: 11.86 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.3871, allocations: 19.8 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.3876, allocations: 142.2 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3879, allocations: 167.6 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.388, allocations: 49.56 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3881, allocations: 63.78 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3882, allocations: 63.73 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3883, allocations: 16 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.189e-05/0.3883, allocations: 31.98 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.3884, allocations: 23.92 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.3885, allocations: 59.72 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.3887, allocations: 171.4 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3887, allocations: 0 / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3887, allocations: 0 / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3887, allocations: 4 kB / 1.211 GB, free: 6.691 MB / 0.9669 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.0006857/0.3894, allocations: 444.8 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3894, allocations: 8.625 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.3895, allocations: 12.84 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.3899, allocations: 224.3 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.39, allocations: 12.38 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.39, allocations: 12.38 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3902, allocations: 99.78 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3903, allocations: 4 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3903, allocations: 8 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3903, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.3906, allocations: 63.94 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.3911, allocations: 400.4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3913, allocations: 66.48 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3914, allocations: 32.97 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3914, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.3917, allocations: 95.28 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.3917, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004446/0.3921, allocations: 137.5 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3922, allocations: 55.41 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3923, allocations: 135.4 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3923, allocations: 29.7 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.3924, allocations: 111.9 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3924, allocations: 11.81 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.3925, allocations: 41.61 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3926, allocations: 322.8 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3928, allocations: 43.97 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.393, allocations: 83.27 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.3932, allocations: 129 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3933, allocations: 4 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004122/0.3937, allocations: 187.2 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.3937, allocations: 37.7 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3937, allocations: 4.328 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3938, allocations: 4 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3939, allocations: 19.92 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3939, allocations: 0 / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3941, allocations: 43.89 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3941, allocations: 4 kB / 1.213 GB, free: 3.594 MB / 0.9669 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.0001004/0.3942, allocations: 125.8 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.3942, allocations: 11.89 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.3943, allocations: 16.31 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3943, allocations: 0 / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3943, allocations: 0 / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3943, allocations: 4 kB / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3945, allocations: 197.6 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.3945, allocations: 0 / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.3946, allocations: 23.86 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3946, allocations: 0 / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3946, allocations: 7.938 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3946, allocations: 0 / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3946, allocations: 0 / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.3949, allocations: 133 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.395, allocations: 85.02 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.395, allocations: 8.031 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.3951, allocations: 11.92 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3951, allocations: 4 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3951, allocations: 4 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.3952, allocations: 98.08 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3952, allocations: 7.938 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00023/0.3954, allocations: 39.92 kB / 1.214 GB, free: 2.734 MB / 0.9669 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.0001546/0.3956, allocations: 99.25 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.396, allocations: 171.2 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.396, allocations: 0 / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3961, allocations: 40.17 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.3963, allocations: 21.45 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.3967, allocations: 202.8 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3971, allocations: 0.6963 MB / 1.215 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.3972, allocations: 12.44 kB / 1.215 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.3972, allocations: 11.44 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3972, allocations: 0 / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of Templates: time 0.004491/0.4017, allocations: 1.53 MB / 1.217 GB, free: 15.93 MB / 0.9825 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