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.01067/0.01067, allocations: 100.2 kB / 15.73 MB, free: 6.48 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.002003/0.002003, allocations: 195.8 kB / 16.67 MB, free: 6.379 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.555/2.555, allocations: 390.2 MB / 0.6648 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.23 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3889, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002242/0.3911, allocations: 0.886 MB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3927, allocations: 1.149 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.3928, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.648e-05/0.3929, allocations: 11.86 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.393, allocations: 11.81 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.3935, allocations: 146.8 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.3937, allocations: 155.7 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.3939, allocations: 53.5 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.394, allocations: 67.77 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3942, allocations: 63.73 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.3942, allocations: 16 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.3943, allocations: 23.98 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.3943, allocations: 23.92 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.3944, allocations: 59.72 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.3946, allocations: 171.4 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3947, allocations: 7.922 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3947, allocations: 4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3947, allocations: 0 / 1.091 GB, free: 14.69 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.0006884/0.3954, allocations: 436.9 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3954, allocations: 12.03 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.3955, allocations: 20.73 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.3959, allocations: 224.3 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.396, allocations: 12.38 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.396, allocations: 12.38 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3962, allocations: 101.9 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3963, allocations: 0 / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3963, allocations: 0 / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.3963, allocations: 8 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.3965, allocations: 63.94 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.397, allocations: 400.3 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3972, allocations: 66.55 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3973, allocations: 32.95 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3974, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.3976, allocations: 87.31 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3976, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004304/0.398, allocations: 129.5 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3981, allocations: 59.34 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3982, allocations: 129.8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3982, allocations: 33.7 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.3983, allocations: 111.9 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.3983, allocations: 15.72 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.3984, allocations: 41.69 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3985, allocations: 318.8 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3987, allocations: 47.95 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3988, allocations: 83.33 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3991, allocations: 125.1 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3991, allocations: 7.938 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004006/0.3995, allocations: 191.2 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.3996, allocations: 39.09 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3996, allocations: 3.938 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3996, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3997, allocations: 19.92 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3997, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.3999, allocations: 39.91 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4, allocations: 8 kB / 1.094 GB, free: 11.59 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.0001057/0.4001, allocations: 123.8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.4001, allocations: 7.906 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.4001, allocations: 12.31 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4001, allocations: 4 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4002, allocations: 4 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4002, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.4003, allocations: 201.6 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4004, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.4004, allocations: 15.92 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4004, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4005, allocations: 3.938 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4005, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4005, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.4007, allocations: 137 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.4008, allocations: 84.95 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4008, allocations: 3.938 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.4009, allocations: 15.98 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.4009, allocations: 4 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4009, allocations: 4 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.86e-05/0.401, allocations: 105.6 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.401, allocations: 7.938 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002224/0.4012, allocations: 23.94 kB / 1.094 GB, free: 10.75 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.000175/0.4014, allocations: 108.6 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.4018, allocations: 171.7 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4018, allocations: 0 / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4019, allocations: 36.17 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.4022, allocations: 24.22 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.4026, allocations: 206.9 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4029, allocations: 0.6968 MB / 1.095 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.569e-05/0.403, allocations: 8.438 kB / 1.095 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.403, allocations: 11.44 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.403, allocations: 0 / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.005183/0.4082, allocations: 1.568 MB / 1.097 GB, free: 7.91 MB / 0.8575 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