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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 192.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.88 kB / 1.109 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7867, allocations: 168.7 MB / 1.274 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004659/0.7913, allocations: 3.149 MB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.7933, allocations: 1.103 MB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.7936, allocations: 23.88 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.7938, allocations: 87.12 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.794, allocations: 111 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.7948, allocations: 351.4 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006938/0.7955, allocations: 0.6286 MB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.7958, allocations: 164.6 kB / 1.28 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.7961, allocations: 235 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.7964, allocations: 210.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/0.7965, allocations: 52 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.7965, allocations: 52 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.7966, allocations: 107.6 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.7968, allocations: 238.6 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.7975, allocations: 0.6924 MB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7975, allocations: 4 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7975, allocations: 0 / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.7975, allocations: 0 / 1.281 GB, free: 13.43 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.001361/0.7989, allocations: 0.8406 MB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.7989, allocations: 8.031 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.799, allocations: 64.52 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.7999, allocations: 0.5143 MB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.7999, allocations: 21.03 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.8, allocations: 32.38 kB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.8006, allocations: 379.1 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.8007, allocations: 0 / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.8007, allocations: 12 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.8007, allocations: 8 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.8013, allocations: 258 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.803, allocations: 1.421 MB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.8037, allocations: 246.9 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.804, allocations: 130.7 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.804, allocations: 11.91 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.8041, allocations: 38.56 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.8041, allocations: 0 / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009285/0.805, allocations: 360.1 kB / 1.285 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.805, allocations: 59.39 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.8055, allocations: 414 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.8055, allocations: 25.7 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.8057, allocations: 264.4 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.8058, allocations: 83.27 kB / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.8059, allocations: 57.94 kB / 1.286 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.8061, allocations: 362.7 kB / 1.286 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.8064, allocations: 100.4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.8067, allocations: 164.7 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.8072, allocations: 278 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8072, allocations: 4 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007091/0.8079, allocations: 337.8 kB / 1.287 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.808, allocations: 4 kB / 1.287 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.808, allocations: 4 kB / 1.287 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.808, allocations: 4 kB / 1.287 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.8083, allocations: 63.89 kB / 1.287 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.8083, allocations: 4 kB / 1.287 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.8085, allocations: 35.77 kB / 1.287 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.8085, allocations: 8 kB / 1.287 GB, free: 6.57 MB / 0.9825 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.0001927/0.8087, allocations: 173.9 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.8088, allocations: 43.72 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.8089, allocations: 51.97 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.8089, allocations: 7.938 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8089, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8089, allocations: 3.938 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.8094, allocations: 441.2 kB / 1.288 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8094, allocations: 0 / 1.288 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.8097, allocations: 51.91 kB / 1.288 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8097, allocations: 0 / 1.288 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.8097, allocations: 8 kB / 1.288 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8097, allocations: 0 / 1.288 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8097, allocations: 0 / 1.288 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009747/0.8107, allocations: 0.5045 MB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.8108, allocations: 140.7 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.8109, allocations: 8 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.8111, allocations: 11.98 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.8111, allocations: 19.97 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.8112, allocations: 7.938 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003401/0.8115, allocations: 291.2 kB / 1.289 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8115, allocations: 0 / 1.289 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003371/0.8118, allocations: 75.78 kB / 1.289 GB, free: 4.664 MB / 0.9825 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.0001172/0.812, allocations: 103.8 kB / 1.289 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006144/0.8126, allocations: 233.1 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8126, allocations: 7.875 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.8128, allocations: 118.8 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.8135, allocations: 122.4 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.8148, allocations: 0.7292 MB / 1.29 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.8153, allocations: 0.8233 MB / 1.291 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000177/0.8154, allocations: 47.25 kB / 1.291 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.8155, allocations: 39.42 kB / 1.291 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8155, allocations: 0 / 1.291 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of Templates: time 0.008835/0.8244, allocations: 3.934 MB / 1.295 GB, free: 14.53 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.508642894215882]