Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007988/0.0007988, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001862, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006834/0.0006834, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008669/0.00155, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9671/0.9671, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08152/1.049, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.361/2.361, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2609/2.622, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8183 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.212e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003214/0.003236, allocations: 3.031 MB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.004898, allocations: 1.215 MB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.005147, allocations: 27.75 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.005332, allocations: 103 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.005499, allocations: 114.9 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.005958, allocations: 351.4 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.006425, allocations: 0.6362 MB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.006638, allocations: 156.4 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003996/0.007037, allocations: 398.1 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.00718, allocations: 139.4 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.007228, allocations: 44 kB / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-05/0.007316, allocations: 55.98 kB / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.007363, allocations: 79.69 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.007439, allocations: 107.7 kB / 0.8245 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.007775, allocations: 342.5 kB / 0.8249 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.785e-05/0.007793, allocations: 4 kB / 0.8249 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.402e-06/0.007794, allocations: 0 / 0.8249 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.007812, allocations: 0 / 0.8249 GB, free: 12.15 MB / 0.8073 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.0008161/0.008628, allocations: 0.8025 MB / 0.8257 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.008662, allocations: 8.625 kB / 0.8257 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.008891, allocations: 162 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.009423, allocations: 400.9 kB / 0.8262 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.009441, allocations: 25.03 kB / 0.8262 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.009481, allocations: 32.38 kB / 0.8263 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.009791, allocations: 322.9 kB / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.009802, allocations: 192 / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.009821, allocations: 12.38 kB / 0.8266 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.009832, allocations: 15.92 kB / 0.8266 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.009938, allocations: 84.42 kB / 0.8267 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.01074, allocations: 1.017 MB / 0.8277 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.01097, allocations: 134.3 kB / 0.8278 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.963e-05/0.01106, allocations: 68.75 kB / 0.8279 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.01109, allocations: 4 kB / 0.8279 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01112, allocations: 42.56 kB / 0.8279 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 2.594e-06/0.01112, allocations: 0 / 0.8279 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002246/0.01134, allocations: 148.3 kB / 0.828 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.01137, allocations: 59.34 kB / 0.8281 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01158, allocations: 375.2 kB / 0.8285 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.0116, allocations: 29.7 kB / 0.8285 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.01169, allocations: 209.7 kB / 0.8287 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.01173, allocations: 83.28 kB / 0.8288 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.01178, allocations: 57.94 kB / 0.8288 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01189, allocations: 362.7 kB / 0.8292 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.01193, allocations: 24.55 kB / 0.8292 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.012, allocations: 89.38 kB / 0.8293 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.01212, allocations: 141.7 kB / 0.8294 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01212, allocations: 0 / 0.8294 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001647/0.01229, allocations: 177.3 kB / 0.8296 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.0123, allocations: 4 kB / 0.8296 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01231, allocations: 4 kB / 0.8296 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01232, allocations: 4 kB / 0.8296 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.01251, allocations: 76.14 kB / 0.8297 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01251, allocations: 7.938 kB / 0.8297 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.01259, allocations: 31.77 kB / 0.8297 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.0126, allocations: 8 kB / 0.8297 GB, free: 6.902 MB / 0.8073 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.conHeaCoi.I.trigger_internal,conHeaFan.conFan.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 8.891e-05/0.01269, allocations: 125.8 kB / 0.8298 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.01273, allocations: 39.89 kB / 0.8299 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.01278, allocations: 44.11 kB / 0.8299 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01278, allocations: 4 kB / 0.8299 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01279, allocations: 0 / 0.8299 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01279, allocations: 7.984 kB / 0.8299 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.01299, allocations: 217.6 kB / 0.8301 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01299, allocations: 0 / 0.8301 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.01312, allocations: 55.91 kB / 0.8302 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.01318, allocations: 55.52 kB / 0.8302 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01318, allocations: 0 / 0.8302 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01319, allocations: 4 kB / 0.8302 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01319, allocations: 0 / 0.8302 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01319, allocations: 4 kB / 0.8302 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.01343, allocations: 266.3 kB / 0.8305 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.01346, allocations: 11.94 kB / 0.8305 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.01353, allocations: 11.98 kB / 0.8305 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.01357, allocations: 15.97 kB / 0.8305 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01358, allocations: 4 kB / 0.8305 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001038/0.01368, allocations: 156.7 kB / 0.8307 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01368, allocations: 0 / 0.8307 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001773/0.01386, allocations: 71.88 kB / 0.8308 GB, free: 5.789 MB / 0.8073 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 9.726e-05/0.01396, allocations: 84.39 kB / 0.8308 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.01411, allocations: 113.1 kB / 0.8309 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.01412, allocations: 7.984 kB / 0.831 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.01418, allocations: 62.39 kB / 0.831 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.01454, allocations: 166.5 kB / 0.8312 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.01624, allocations: 0.696 MB / 0.8319 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.305e-05/0.01631, allocations: 105.3 kB / 0.832 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.01644, allocations: 51.25 kB / 0.832 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.01659, allocations: 127.3 kB / 0.8321 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of SimCode: time 1.082e-06/0.01659, allocations: 0 / 0.8321 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.006594/0.02319, allocations: 4.464 MB / 0.8365 GB, free: 16 kB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193674097768962]