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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000793/0.000793, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008711/0.0008711, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8981/0.8981, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.686/1.686, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 3.917e-06/3.917e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.206e-05, allocations: 9.031 kB / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002204/0.002236, allocations: 0.8499 MB / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.003913, allocations: 1.186 MB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.003987, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.004031, allocations: 11.88 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.523e-05/0.004126, allocations: 19.84 kB / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.004683, allocations: 143.3 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.004909, allocations: 159.6 kB / 0.9529 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.005069, allocations: 33.75 kB / 0.9529 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.005236, allocations: 91.8 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.005346, allocations: 47.86 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.005379, allocations: 16 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.005452, allocations: 27.98 kB / 0.9531 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.005486, allocations: 19.92 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.005558, allocations: 43.91 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.005826, allocations: 191.5 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.00583, allocations: 4 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.252e-06/0.005831, allocations: 0 / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.005836, allocations: 0 / 0.9533 GB, free: 0.5898 MB / 0.9011 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.0006314/0.006468, allocations: 367.5 kB / 0.9537 GB, free: 200 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.006513, allocations: 12.03 kB / 0.9537 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.006557, allocations: 42.67 kB / 0.9537 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.006609, allocations: 16.89 kB / 0.9537 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.007029, allocations: 173.7 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.007055, allocations: 8.312 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.007083, allocations: 12.38 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.007298, allocations: 94.16 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.007308, allocations: 4.125 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007322, allocations: 12.12 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.007328, allocations: 7.938 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.007511, allocations: 63.95 kB / 0.9541 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.008052, allocations: 331.7 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.008212, allocations: 58.55 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.008298, allocations: 32.95 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.008319, allocations: 8 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.008569, allocations: 83.31 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.008572, allocations: 0 / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003916/0.008963, allocations: 129.8 kB / 0.9547 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.009017, allocations: 59.34 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.009133, allocations: 133.7 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.009159, allocations: 33.7 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.009235, allocations: 112 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.009256, allocations: 23.78 kB / 0.9551 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.009331, allocations: 37.7 kB / 0.9551 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.009434, allocations: 322.8 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.009592, allocations: 77.67 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.009747, allocations: 109 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.009974, allocations: 129 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.009977, allocations: 4 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003916/0.01037, allocations: 221 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.01041, allocations: 45.62 kB / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01042, allocations: 0 / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01044, allocations: 4 kB / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.01054, allocations: 23.95 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.01054, allocations: 4 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.01069, allocations: 31.92 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.01072, allocations: 7.984 kB / 0.956 GB, free: 13.55 MB / 0.9167 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 9.954e-05/0.01082, allocations: 125.8 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.01083, allocations: 7.953 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.01087, allocations: 8.438 kB / 0.9562 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01087, allocations: 8 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.01088, allocations: 3.938 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01088, allocations: 3.938 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01103, allocations: 164.7 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01104, allocations: 0 / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.01111, allocations: 19.92 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01111, allocations: 3.984 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.01112, allocations: 0 / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01112, allocations: 0 / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01112, allocations: 3.938 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.01137, allocations: 133.4 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.01138, allocations: 7.953 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.0114, allocations: 4 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.01144, allocations: 7.984 kB / 0.9565 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.01148, allocations: 7.938 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01149, allocations: 7.984 kB / 0.9565 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.01155, allocations: 102.2 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01155, allocations: 0 / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002782/0.01183, allocations: 27.94 kB / 0.9566 GB, free: 12.85 MB / 0.9167 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.0004025/0.01223, allocations: 0.6749 MB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.01248, allocations: 185 kB / 0.9575 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01248, allocations: 0 / 0.9575 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.01254, allocations: 39.91 kB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.01272, allocations: 34.7 kB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.01412, allocations: 1.76 MB / 0.9593 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.508e-05/0.01417, allocations: 92.25 kB / 0.9594 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.01422, allocations: 4.5 kB / 0.9594 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.01427, allocations: 36.48 kB / 0.9594 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01427, allocations: 7.938 kB / 0.9594 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.03287, allocations: 3.627 MB / 0.9629 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/6.703, allocations: 6.281 kB / 0.9629 GB, free: 6.422 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=1.44 --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/jenkins/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: 10.756441056728363]