Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001714/0.001714, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002097/0.002097, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002063/0.002063, allocations: 67.55 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2918, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004449/0.2962, allocations: 2.894 MB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2984, allocations: 1.142 MB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.2987, allocations: 23.81 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.2989, allocations: 91.06 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.2992, allocations: 119 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.3, allocations: 356.9 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.3007, allocations: 0.6402 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.301, allocations: 166.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.3013, allocations: 247 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3016, allocations: 210.8 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.585e-05/0.3017, allocations: 52 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.834e-05/0.3018, allocations: 56 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.737e-05/0.3019, allocations: 115.5 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.302, allocations: 171 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007285/0.3027, allocations: 0.708 MB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3027, allocations: 0 / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3027, allocations: 0 / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3028, allocations: 4 kB / 1.334 GB, free: 9.988 MB / 1.029 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.001312/0.3041, allocations: 0.7575 MB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3041, allocations: 12.03 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.3045, allocations: 100.5 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009392/0.3054, allocations: 467.5 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3054, allocations: 24.97 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.3055, allocations: 36.31 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.3062, allocations: 422.7 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3062, allocations: 0 / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.3063, allocations: 16 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3063, allocations: 8 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.3069, allocations: 254.4 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3085, allocations: 1.262 MB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.3092, allocations: 254.8 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.3095, allocations: 122.8 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3095, allocations: 7.984 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3096, allocations: 38.56 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.3096, allocations: 4 kB / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009231/0.3105, allocations: 355.5 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3105, allocations: 67.33 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.311, allocations: 417.9 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.311, allocations: 33.7 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.3112, allocations: 264.4 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.3113, allocations: 83.27 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3114, allocations: 61.92 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3116, allocations: 358.7 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3119, allocations: 92.52 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.3122, allocations: 164.7 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.3127, allocations: 273.8 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3127, allocations: 0 / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007153/0.3135, allocations: 343 kB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3135, allocations: 8 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3135, allocations: 0 / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3135, allocations: 8.25 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.3138, allocations: 63.89 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3138, allocations: 4 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.314, allocations: 31.83 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3141, allocations: 12 kB / 1.34 GB, free: 3.371 MB / 1.029 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.0002103/0.3143, allocations: 182.2 kB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.3143, allocations: 43.72 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3145, allocations: 44.11 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3145, allocations: 11.94 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3145, allocations: 0 / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3145, allocations: 7.969 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.3149, allocations: 317 kB / 1.341 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3149, allocations: 0 / 1.341 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.3152, allocations: 47.91 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3152, allocations: 0 / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3152, allocations: 8 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.3152, allocations: 7.984 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3152, allocations: 0 / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.3162, allocations: 0.495 MB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3163, allocations: 67.66 kB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.3164, allocations: 4 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3166, allocations: 15.98 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.3166, allocations: 23.97 kB / 1.341 GB, free: 2.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3167, allocations: 7.938 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003331/0.317, allocations: 299.1 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.317, allocations: 0 / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003413/0.3173, allocations: 67.78 kB / 1.342 GB, free: 1.688 MB / 1.029 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.0001104/0.3174, allocations: 103.2 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006321/0.3181, allocations: 241.6 kB / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3181, allocations: 0 / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.3184, allocations: 113.2 kB / 1.342 GB, free: 1.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.319, allocations: 128.6 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3204, allocations: 0.7439 MB / 1.343 GB, free: 352 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.3206, allocations: 220.3 kB / 1.343 GB, free: 104 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000189/0.3208, allocations: 51.25 kB / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.3209, allocations: 31.44 kB / 1.343 GB, free: 20 kB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3209, allocations: 4 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of Templates: time 0.009418/0.3303, allocations: 4.55 MB / 1.348 GB, free: 11.58 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.544704778003506]