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.00152/0.00152, allocations: 109 kB / 15.99 MB, free: 6.355 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.001521/0.001521, allocations: 192.2 kB / 16.91 MB, free: 6.188 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 482.4 MB / 0.755 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 68.67 kB / 0.9241 GB, free: 260 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8821, allocations: 162.2 MB / 1.082 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002313/0.8844, allocations: 0.9268 MB / 1.083 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.8859, allocations: 1.159 MB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.886, allocations: 1.625 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.886, allocations: 6.094 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.8861, allocations: 11.3 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.8866, allocations: 130.5 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.8868, allocations: 163.4 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.887, allocations: 54.16 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.8871, allocations: 56.67 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.8873, allocations: 56.39 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.8873, allocations: 18.88 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.8874, allocations: 27.92 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.8874, allocations: 23.39 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.8875, allocations: 59.55 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.8877, allocations: 120.4 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8878, allocations: 5.188 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8878, allocations: 0 / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8878, allocations: 4 kB / 1.085 GB, free: 15.87 MB / 0.8419 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.0007251/0.8885, allocations: 443.4 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8886, allocations: 8.906 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.8886, allocations: 16.94 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.8892, allocations: 233.7 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.8892, allocations: 9.875 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.8892, allocations: 13.56 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.8895, allocations: 98.59 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8895, allocations: 0 / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.8896, allocations: 5 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8896, allocations: 2.531 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.8898, allocations: 65.06 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.8905, allocations: 405.8 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.8907, allocations: 61 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.8909, allocations: 40.47 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.8909, allocations: 0 / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.8912, allocations: 84.8 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.8912, allocations: 0 / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005053/0.8917, allocations: 150.1 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.8918, allocations: 52.66 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.8919, allocations: 129.7 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.892, allocations: 28.81 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.8921, allocations: 109.8 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.8921, allocations: 24.25 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.8922, allocations: 37.72 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8924, allocations: 324.7 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.8926, allocations: 43.42 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.8928, allocations: 82.39 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.8931, allocations: 132.7 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8931, allocations: 3.938 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004591/0.8935, allocations: 189.9 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.8936, allocations: 33.78 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.8936, allocations: 5.891 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8936, allocations: 5.062 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.8938, allocations: 18.78 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.8938, allocations: 3.141 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.894, allocations: 37 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.894, allocations: 7.672 kB / 1.088 GB, free: 13.63 MB / 0.8419 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.0001192/0.8941, allocations: 126 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.8942, allocations: 11.78 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.8942, allocations: 15.72 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8942, allocations: 1.312 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8942, allocations: 0.6094 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8942, allocations: 1.188 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.8944, allocations: 196.8 kB / 1.088 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.8945, allocations: 1.344 kB / 1.088 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.8945, allocations: 12.72 kB / 1.088 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8946, allocations: 4.641 kB / 1.088 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8946, allocations: 5.062 kB / 1.088 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.8946, allocations: 9.953 kB / 1.088 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8946, allocations: 0 / 1.088 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.8949, allocations: 130 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.895, allocations: 88.73 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.895, allocations: 5.188 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.8951, allocations: 6.109 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.8951, allocations: 9.062 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.8951, allocations: 3.719 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.792e-05/0.8952, allocations: 102.2 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8952, allocations: 0 / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002398/0.8955, allocations: 25.41 kB / 1.089 GB, free: 12.98 MB / 0.8419 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.0001787/0.8957, allocations: 107.3 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.8961, allocations: 179.2 kB / 1.089 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8961, allocations: 0 / 1.089 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.8962, allocations: 37.55 kB / 1.089 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.8965, allocations: 20.42 kB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.897, allocations: 268.2 kB / 1.089 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.8974, allocations: 0.701 MB / 1.09 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.8975, allocations: 12.25 kB / 1.09 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.8975, allocations: 5.594 kB / 1.09 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.003865/0.9013, allocations: 1.448 MB / 1.091 GB, free: 11.7 MB / 0.8419 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=400 -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/jenkins1/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