Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 75.89 kB / 1.107 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8046, allocations: 168.7 MB / 1.271 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001847/0.8065, allocations: 0.8934 MB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8077, allocations: 1.175 MB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.8077, allocations: 1.625 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.8077, allocations: 9.938 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.8078, allocations: 14.8 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.8083, allocations: 144.9 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.8084, allocations: 148.4 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.8086, allocations: 39.19 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.8087, allocations: 72.09 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.8088, allocations: 61.42 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.8088, allocations: 14.34 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.8089, allocations: 28.34 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.8089, allocations: 26.86 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.809, allocations: 60.58 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.8092, allocations: 167.1 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8092, allocations: 0.7812 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8092, allocations: 0 / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.8092, allocations: 0.9375 kB / 1.274 GB, free: 5.871 MB / 0.9981 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.0005091/0.8097, allocations: 451.2 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.8097, allocations: 9.25 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.8098, allocations: 44.27 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.8098, allocations: 12.77 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.8102, allocations: 227.8 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.8102, allocations: 6.797 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.8102, allocations: 17.31 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.8104, allocations: 104.6 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8104, allocations: 0 / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.8105, allocations: 0.7812 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8105, allocations: 2.594 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.8107, allocations: 65.52 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.8111, allocations: 395.7 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.8112, allocations: 59.2 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.8113, allocations: 34.36 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.8114, allocations: 0.8438 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.8116, allocations: 93.02 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.8116, allocations: 3.984 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004199/0.812, allocations: 134.9 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.812, allocations: 52.81 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.8121, allocations: 137.5 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.8121, allocations: 31.48 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.8122, allocations: 116.4 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.8122, allocations: 23.12 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.8122, allocations: 38.56 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.8123, allocations: 319.5 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.8124, allocations: 55.14 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.8126, allocations: 75.77 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.8128, allocations: 131.3 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8128, allocations: 0.8125 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003851/0.8132, allocations: 194.5 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.8132, allocations: 45.72 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8132, allocations: 1 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8133, allocations: 1.875 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.8134, allocations: 15.17 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8134, allocations: 2.109 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.8136, allocations: 42.2 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.8136, allocations: 7.422 kB / 1.277 GB, free: 3.582 MB / 0.9981 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.509e-05/0.8137, allocations: 123.3 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.8137, allocations: 11.05 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.8137, allocations: 10.09 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.8137, allocations: 5.297 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8137, allocations: 3.938 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8137, allocations: 0.6875 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.8138, allocations: 195.8 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8138, allocations: 4.969 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.8139, allocations: 12.72 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8139, allocations: 8.719 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8139, allocations: 4.688 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8139, allocations: 0.625 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8139, allocations: 0.7812 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.8142, allocations: 138 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.8142, allocations: 85.08 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.8142, allocations: 6.344 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.8143, allocations: 5.172 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.8143, allocations: 13 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.8143, allocations: 3.344 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.8143, allocations: 95.83 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8143, allocations: 0 / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002144/0.8146, allocations: 33.88 kB / 1.278 GB, free: 2.918 MB / 0.9981 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.000445/0.815, allocations: 0.6725 MB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.8153, allocations: 157.3 kB / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8153, allocations: 0 / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.8155, allocations: 35.22 kB / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.8157, allocations: 26.83 kB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.8174, allocations: 1.641 MB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.8176, allocations: 0.705 MB / 1.281 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.8177, allocations: 6.656 kB / 1.281 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.8177, allocations: 32.36 kB / 1.281 GB, free: 16.11 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.8177, allocations: 4 kB / 1.281 GB, free: 16.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.8429, allocations: 2.828 MB / 1.284 GB, free: 15.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.824, allocations: 2.844 kB / 1.284 GB, free: 15.65 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.233797022000545]