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.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 65.7 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4055, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002793/0.4083, allocations: 0.8721 MB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4102, allocations: 1.166 MB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.4103, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.428e-05/0.4103, allocations: 11.86 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.4105, allocations: 15.86 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.4111, allocations: 142.8 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.4113, allocations: 163.7 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.4115, allocations: 53.53 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.4116, allocations: 55.84 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.4118, allocations: 63.75 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.4118, allocations: 12 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.4119, allocations: 35.91 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.4119, allocations: 27.86 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.412, allocations: 59.72 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.4123, allocations: 167.7 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4123, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.937e-06/0.4123, allocations: 3.984 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.4123, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 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.0007113/0.413, allocations: 444.8 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4131, allocations: 8.031 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.4131, allocations: 16.83 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.4137, allocations: 231.6 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4137, allocations: 4.375 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.4137, allocations: 12.38 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.414, allocations: 109.9 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.414, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.414, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.414, allocations: 4 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.4143, allocations: 67.94 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.4149, allocations: 396.3 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4151, allocations: 70.55 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4152, allocations: 28.97 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.4152, allocations: 8 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.4155, allocations: 91.28 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4155, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004535/0.416, allocations: 129.5 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.416, allocations: 63.41 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4162, allocations: 123.5 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.4162, allocations: 33.7 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.4163, allocations: 115.8 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.4163, allocations: 15.7 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.4164, allocations: 37.7 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4166, allocations: 322.8 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.4168, allocations: 47.97 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.4169, allocations: 75.39 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.4172, allocations: 133.1 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4172, allocations: 3.938 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004281/0.4177, allocations: 199.1 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.4177, allocations: 33.7 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4177, allocations: 3.938 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4177, allocations: 4 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4179, allocations: 15.98 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4179, allocations: 4.094 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.4181, allocations: 43.8 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.4181, allocations: 4 kB / 1.074 GB, free: 4.402 MB / 0.8262 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.0001236/0.4183, allocations: 121.8 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.4183, allocations: 11.89 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.4183, allocations: 12.31 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4183, allocations: 8 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4184, allocations: 0 / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4184, allocations: 0 / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.4185, allocations: 197.6 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4186, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.4186, allocations: 15.98 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4186, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.4187, allocations: 3.938 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4187, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4187, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.419, allocations: 137 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.419, allocations: 92.94 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.4191, allocations: 3.938 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.4191, allocations: 11.98 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4192, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4192, allocations: 8 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.4193, allocations: 105.2 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4193, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002354/0.4195, allocations: 35.86 kB / 1.075 GB, free: 3.559 MB / 0.8262 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.0002202/0.4197, allocations: 105.8 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.4201, allocations: 167.3 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4201, allocations: 192 / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.4203, allocations: 44.55 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.4205, allocations: 26.91 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.4211, allocations: 206.8 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4214, allocations: 0.7002 MB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.518e-05/0.4214, allocations: 8.438 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.4214, allocations: 11.44 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.4215, allocations: 0 / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.004682/0.4261, allocations: 1.525 MB / 1.077 GB, free: 0.7539 MB / 0.8262 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