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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.0008562, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004994/0.004994, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 12 kB / 0.8162 GB, free: 13.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5028, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.0008241/0.5036, allocations: 0.5853 MB / 0.9558 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5048, allocations: 1.154 MB / 0.9569 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.5049, allocations: 1.125 kB / 0.9569 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.5049, allocations: 3.938 kB / 0.9569 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.505, allocations: 18.31 kB / 0.957 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.5054, allocations: 133.9 kB / 0.9571 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.5056, allocations: 136.5 kB / 0.9572 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.5057, allocations: 41.44 kB / 0.9573 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.5058, allocations: 49.98 kB / 0.9573 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.5059, allocations: 47.08 kB / 0.9573 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.5059, allocations: 6.688 kB / 0.9574 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.5059, allocations: 24.2 kB / 0.9574 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.506, allocations: 10.7 kB / 0.9574 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.506, allocations: 79.88 kB / 0.9575 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.5062, allocations: 155.3 kB / 0.9576 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5062, allocations: 0 / 0.9576 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5062, allocations: 0 / 0.9576 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.5062, allocations: 0 / 0.9576 GB, free: 5.844 MB / 0.7169 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.0004164/0.5066, allocations: 425.6 kB / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.5067, allocations: 9.156 kB / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.5067, allocations: 37.56 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.5068, allocations: 12.22 kB / 0.9581 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.5071, allocations: 251.6 kB / 0.9583 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5072, allocations: 14.05 kB / 0.9583 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.5072, allocations: 12.78 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5074, allocations: 97.8 kB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5074, allocations: 0 / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.5074, allocations: 5.688 kB / 0.9584 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5074, allocations: 5.766 kB / 0.9584 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.5076, allocations: 71.27 kB / 0.9585 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.5081, allocations: 400 kB / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.5082, allocations: 72.73 kB / 0.959 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5083, allocations: 45.58 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.5083, allocations: 5.312 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.5085, allocations: 81.5 kB / 0.9591 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.5085, allocations: 0 / 0.9591 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003828/0.5089, allocations: 158.5 kB / 0.9592 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.509, allocations: 52.78 kB / 0.9593 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.509, allocations: 129.4 kB / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5091, allocations: 27.52 kB / 0.9594 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.5091, allocations: 114.6 kB / 0.9595 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.5091, allocations: 22.72 kB / 0.9596 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.5092, allocations: 22.92 kB / 0.9596 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.5092, allocations: 321.1 kB / 0.9599 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.5094, allocations: 49.28 kB / 0.9599 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.5095, allocations: 79.23 kB / 0.96 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.5098, allocations: 140.1 kB / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5098, allocations: 0 / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003658/0.5101, allocations: 202.7 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.5102, allocations: 46 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5102, allocations: 5.219 kB / 0.9604 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5102, allocations: 2.031 kB / 0.9604 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.5103, allocations: 17.39 kB / 0.9604 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5103, allocations: 5.172 kB / 0.9604 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.5105, allocations: 50.28 kB / 0.9605 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.5105, allocations: 10.7 kB / 0.9605 GB, free: 3.305 MB / 0.7169 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 6.862e-05/0.5106, allocations: 120.2 kB / 0.9606 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.5106, allocations: 11.91 kB / 0.9606 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.5107, allocations: 10.03 kB / 0.9606 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5107, allocations: 1.094 kB / 0.9606 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.5107, allocations: 0 / 0.9606 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5107, allocations: 5.141 kB / 0.9606 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.5108, allocations: 201.4 kB / 0.9608 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5108, allocations: 0.9688 kB / 0.9608 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.5109, allocations: 15.52 kB / 0.9608 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5109, allocations: 3.938 kB / 0.9608 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.5109, allocations: 8.906 kB / 0.9608 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5109, allocations: 1.219 kB / 0.9608 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5109, allocations: 0 / 0.9608 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.5112, allocations: 142.5 kB / 0.961 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.5112, allocations: 83.77 kB / 0.9611 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.5112, allocations: 5.312 kB / 0.9611 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.5113, allocations: 9.484 kB / 0.9611 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.5113, allocations: 10.73 kB / 0.9611 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5113, allocations: 6.75 kB / 0.9611 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.5113, allocations: 96.38 kB / 0.9612 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5114, allocations: 0 / 0.9612 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002098/0.5116, allocations: 26 kB / 0.9612 GB, free: 2.613 MB / 0.7169 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.0003972/0.512, allocations: 0.6913 MB / 0.9619 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5123, allocations: 174.9 kB / 0.962 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5123, allocations: 4.062 kB / 0.962 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5124, allocations: 34.64 kB / 0.9621 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.5126, allocations: 18.81 kB / 0.9621 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.5142, allocations: 1.688 MB / 0.9637 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.5144, allocations: 0.6991 MB / 0.9644 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.281e-05/0.5145, allocations: 9.266 kB / 0.9644 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.5145, allocations: 27.69 kB / 0.9645 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5145, allocations: 0 / 0.9645 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1833/0.6978, allocations: 2.54 MB / 0.9669 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.6981, allocations: 245.5 kB / 0.9672 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.236, allocations: 2.531 kB / 0.9672 GB, free: 14.21 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > 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/jenkins1/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