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.00175/0.00175, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002559/0.002559, allocations: 213.7 kB / 22.25 MB, free: 5.117 MB / 14.72 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 1.577/1.577, allocations: 230.6 MB / 256 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.006/3.006, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 68.31 kB / 1.117 GB, free: 40.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4072, allocations: 169.9 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002735/0.41, allocations: 0.8841 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4119, allocations: 1.2 MB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.412, allocations: 4 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.4121, allocations: 11.86 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.4122, allocations: 11.81 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.4128, allocations: 146 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.4131, allocations: 159.7 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.4132, allocations: 33.77 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.4134, allocations: 63.83 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.4135, allocations: 71.73 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.4136, allocations: 12 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.4137, allocations: 24 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.4137, allocations: 23.92 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.4138, allocations: 67.64 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.4141, allocations: 174.9 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4141, allocations: 0 / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4141, allocations: 0 / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.4141, allocations: 0 / 1.286 GB, free: 8.84 MB / 0.9825 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.0007324/0.4148, allocations: 371.6 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4149, allocations: 8.031 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.4149, allocations: 42.73 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.415, allocations: 16.84 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.4155, allocations: 182.4 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4155, allocations: 4.375 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.4155, allocations: 12.38 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.4158, allocations: 97.77 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4158, allocations: 3.938 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4158, allocations: 4 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4158, allocations: 4 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.416, allocations: 63.95 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.4166, allocations: 359.8 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.4168, allocations: 62.48 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.417, allocations: 36.97 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.417, allocations: 7.984 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.4173, allocations: 87.31 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4173, allocations: 0 / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000463/0.4177, allocations: 141.5 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.4178, allocations: 55.34 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4179, allocations: 133.8 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.418, allocations: 25.7 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.418, allocations: 112 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.4181, allocations: 23.8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.4181, allocations: 41.69 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4183, allocations: 314.8 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4185, allocations: 51.95 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.4186, allocations: 71.41 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.4189, allocations: 137 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4189, allocations: 0 / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004463/0.4194, allocations: 199.1 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.4194, allocations: 45.62 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4194, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4194, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4195, allocations: 12 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4196, allocations: 7.984 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.4198, allocations: 36.02 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.4198, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 0.9825 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.0001243/0.4199, allocations: 133.7 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.4199, allocations: 11.89 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.42, allocations: 8.375 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.42, allocations: 3.938 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.42, allocations: 4 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.42, allocations: 0 / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.4202, allocations: 168.7 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4202, allocations: 4 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.4202, allocations: 11.98 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4202, allocations: 7.938 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4202, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4203, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4203, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.4206, allocations: 145 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.4206, allocations: 3.953 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.4206, allocations: 7.938 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.4207, allocations: 7.984 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.4207, allocations: 7.984 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4207, allocations: 4 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.4208, allocations: 97.52 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4208, allocations: 0 / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002759/0.4211, allocations: 31.89 kB / 1.29 GB, free: 5.156 MB / 0.9825 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.0007076/0.4218, allocations: 0.6825 MB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.4222, allocations: 151.4 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4222, allocations: 3.938 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.4223, allocations: 35.97 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.4226, allocations: 16.84 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.425, allocations: 1.643 MB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.4255, allocations: 0.7045 MB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.257e-05/0.4255, allocations: 4.438 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.4256, allocations: 39.36 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4256, allocations: 0 / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.4653, allocations: 2.984 MB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.18, allocations: 2.234 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB " [Timeout remaining time 287] (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/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: 19.32265016110614]