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.001936/0.001936, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00256/0.00256, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.789 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.767/2.767, allocations: 475.9 MB / 0.7699 GB, free: 4.742 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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [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.002165/0.002165, allocations: 66.91 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3944, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00503/0.3994, allocations: 2.9 MB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.4018, allocations: 1.146 MB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.402, allocations: 23.81 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.4023, allocations: 91.06 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.4026, allocations: 107.1 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.4034, allocations: 361.1 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007173/0.4041, allocations: 0.648 MB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.4044, allocations: 154.4 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.4048, allocations: 242.9 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.405, allocations: 186.8 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.4051, allocations: 52 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4052, allocations: 56 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.4053, allocations: 111.6 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.4055, allocations: 178.9 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.4063, allocations: 0.7079 MB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4064, allocations: 4 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4064, allocations: 3.938 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.4064, allocations: 0 / 1.29 GB, free: 5.012 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.001405/0.4078, allocations: 0.7653 MB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4078, allocations: 8.031 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/0.4082, allocations: 88.48 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009682/0.4091, allocations: 467.5 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.4092, allocations: 25.03 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.4092, allocations: 28.38 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.41, allocations: 426.7 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.41, allocations: 3.938 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.41, allocations: 12 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.41, allocations: 12 kB / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.4107, allocations: 250.4 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.4124, allocations: 1.255 MB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.4131, allocations: 255.9 kB / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.4134, allocations: 120.8 kB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.4135, allocations: 8 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4135, allocations: 42.55 kB / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.4135, allocations: 0 / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009515/0.4145, allocations: 363.9 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.4145, allocations: 59.27 kB / 1.294 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.415, allocations: 421.8 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.4151, allocations: 37.7 kB / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.4153, allocations: 256.6 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.4154, allocations: 87.27 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.4155, allocations: 49.98 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4157, allocations: 358.5 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.4159, allocations: 96.5 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.4162, allocations: 160.7 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.4168, allocations: 277.9 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4168, allocations: 0 / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007056/0.4175, allocations: 343 kB / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4175, allocations: 14.53 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4175, allocations: 8 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4176, allocations: 4 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.4178, allocations: 67.83 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4179, allocations: 4 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.4181, allocations: 39.77 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.4181, allocations: 11.94 kB / 1.296 GB, free: 14.39 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.0001983/0.4183, allocations: 173.7 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.4184, allocations: 43.72 kB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.4185, allocations: 52.09 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4185, allocations: 4 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4185, allocations: 0 / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.4185, allocations: 0 / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.4189, allocations: 321 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4189, allocations: 0 / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.4192, allocations: 51.89 kB / 1.297 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4192, allocations: 0 / 1.297 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.4192, allocations: 8 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4192, allocations: 4 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4192, allocations: 0 / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.4202, allocations: 0.4989 MB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4203, allocations: 67.66 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4204, allocations: 0 / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.4206, allocations: 20.05 kB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4206, allocations: 15.97 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4206, allocations: 4 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003484/0.421, allocations: 295.1 kB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.421, allocations: 0 / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003345/0.4213, allocations: 71.78 kB / 1.298 GB, free: 12.73 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.0001286/0.4214, allocations: 111.1 kB / 1.298 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006401/0.4221, allocations: 239.8 kB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4221, allocations: 0 / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.4224, allocations: 107.9 kB / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.423, allocations: 134.7 kB / 1.298 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.4245, allocations: 0.7509 MB / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4247, allocations: 220.3 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001879/0.4249, allocations: 51.19 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.425, allocations: 39.42 kB / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.425, allocations: 0 / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.009832/0.4348, allocations: 4.469 MB / 1.303 GB, free: 6.695 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.52268878184259]