Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.001437/0.001437, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001647/0.001647, allocations: 214 kB / 22.25 MB, free: 5.262 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.805 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 2.903/2.903, allocations: 476 MB / 0.7699 GB, free: 4.934 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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.002161/0.002161, allocations: 67.17 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3885, allocations: 169.9 MB / 1.283 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004995/0.3935, allocations: 2.897 MB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.396, allocations: 1.138 MB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/0.3963, allocations: 23.81 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.3966, allocations: 99.06 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.3968, allocations: 107 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.3977, allocations: 373.4 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006993/0.3984, allocations: 0.6402 MB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.3987, allocations: 154.4 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.3991, allocations: 238.9 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.3994, allocations: 190.8 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.563e-05/0.3994, allocations: 52 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3995, allocations: 59.98 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.3996, allocations: 107.6 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.3998, allocations: 182.9 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.4006, allocations: 0.7019 MB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4006, allocations: 4 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4006, allocations: 0 / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4006, allocations: 0 / 1.289 GB, free: 5.598 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00134/0.402, allocations: 0.7673 MB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.402, allocations: 12.03 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.4021, allocations: 62.72 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.4025, allocations: 92.48 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.4035, allocations: 467.5 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.4035, allocations: 25.03 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.4036, allocations: 32.31 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.4043, allocations: 422.5 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4043, allocations: 4 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4043, allocations: 12 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4043, allocations: 8 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.4049, allocations: 254.4 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.4067, allocations: 1.309 MB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.4074, allocations: 246.9 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.4077, allocations: 133.7 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.4078, allocations: 4 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4078, allocations: 34.56 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.4078, allocations: 0 / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009426/0.4088, allocations: 361.1 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4088, allocations: 63.27 kB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.4093, allocations: 425.8 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.4093, allocations: 33.7 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.4096, allocations: 256.4 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.4096, allocations: 91.25 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4097, allocations: 53.98 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4099, allocations: 358.7 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.4102, allocations: 92.52 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.4105, allocations: 176.7 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.4111, allocations: 270.6 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4111, allocations: 0 / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006906/0.4118, allocations: 341.2 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4118, allocations: 8 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4118, allocations: 0 / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4118, allocations: 4 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.4121, allocations: 67.89 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4121, allocations: 4 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4123, allocations: 31.77 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4124, allocations: 15.98 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0002055/0.4126, allocations: 169.8 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.4126, allocations: 47.75 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.4128, allocations: 52.09 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4128, allocations: 4 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4128, allocations: 0 / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4128, allocations: 7.922 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.4133, allocations: 360.5 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4133, allocations: 0 / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.4135, allocations: 55.83 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4135, allocations: 0 / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.4136, allocations: 12 kB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4136, allocations: 0 / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4136, allocations: 0 / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.4145, allocations: 0.501 MB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4147, allocations: 67.66 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.4147, allocations: 8.062 kB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.4149, allocations: 15.98 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.415, allocations: 15.91 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.415, allocations: 8 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003395/0.4153, allocations: 295.1 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4153, allocations: 0 / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003336/0.4157, allocations: 71.78 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001302/0.417, allocations: 1.044 MB / 1.298 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.4176, allocations: 241 kB / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4176, allocations: 0 / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.4178, allocations: 114.1 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.4185, allocations: 118.8 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.4239, allocations: 3.541 MB / 1.302 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.4242, allocations: 220.3 kB / 1.302 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.4244, allocations: 43.27 kB / 1.302 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.4247, allocations: 155.4 kB / 1.303 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of SimCode: time 1.994e-06/0.4247, allocations: 0 / 1.303 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.4695, allocations: 8.99 MB / 1.311 GB, free: 14.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.53, allocations: 11.94 kB / 1.311 GB, free: 14.73 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.768236357253045]