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.001054/0.001054, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.00291, allocations: 449.8 kB / 10.44 MB, free: 252 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.00118/0.00118, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002389, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9166/0.9166, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08698/1.004, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.769/1.769, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.478/2.247, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.351e-05, allocations: 4.562 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.0034/0.003424, allocations: 3.028 MB / 0.7326 GB, free: 1.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.005033, allocations: 1.218 MB / 0.7338 GB, free: 252 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.005257, allocations: 25.09 kB / 0.7338 GB, free: 228 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.005433, allocations: 98.98 kB / 0.7339 GB, free: 128 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.005593, allocations: 118 kB / 0.734 GB, free: 12 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.006054, allocations: 355.8 kB / 0.7343 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.006664, allocations: 0.6324 MB / 0.735 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.006876, allocations: 160.9 kB / 0.7351 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.007289, allocations: 391 kB / 0.7355 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.007434, allocations: 136.2 kB / 0.7356 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.007487, allocations: 48 kB / 0.7357 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.007578, allocations: 57.38 kB / 0.7357 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.00763, allocations: 83.62 kB / 0.7358 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.007709, allocations: 111.7 kB / 0.7359 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.008043, allocations: 342.5 kB / 0.7362 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.008056, allocations: 0.5312 kB / 0.7362 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.008058, allocations: 1.656 kB / 0.7362 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.008069, allocations: 0 / 0.7362 GB, free: 13.72 MB / 0.7136 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.0008199/0.008889, allocations: 0.7961 MB / 0.737 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.008922, allocations: 9.625 kB / 0.737 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.00916, allocations: 158 kB / 0.7372 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.009615, allocations: 404.8 kB / 0.7376 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.009635, allocations: 29.02 kB / 0.7376 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.009674, allocations: 28.38 kB / 0.7376 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.00997, allocations: 328.1 kB / 0.7379 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.00998, allocations: 4.125 kB / 0.7379 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.009998, allocations: 12.38 kB / 0.7379 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.01001, allocations: 12.59 kB / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.01012, allocations: 81.61 kB / 0.738 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.01094, allocations: 1.014 MB / 0.739 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.01118, allocations: 137.8 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.01127, allocations: 72.91 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.01129, allocations: 4 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.01132, allocations: 34.56 kB / 0.7393 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.01132, allocations: 0 / 0.7393 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.000236/0.01155, allocations: 153 kB / 0.7394 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.01158, allocations: 55.41 kB / 0.7395 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.0118, allocations: 375.2 kB / 0.7398 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.01182, allocations: 38.97 kB / 0.7398 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.01191, allocations: 209.6 kB / 0.74 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.01195, allocations: 79.33 kB / 0.7401 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.01201, allocations: 57.94 kB / 0.7402 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.0121, allocations: 356 kB / 0.7405 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.01214, allocations: 24.55 kB / 0.7405 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.01221, allocations: 96.75 kB / 0.7406 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.01234, allocations: 151.8 kB / 0.7408 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01235, allocations: 4 kB / 0.7408 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001803/0.01253, allocations: 177.1 kB / 0.7409 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01254, allocations: 4 kB / 0.741 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.01255, allocations: 8 kB / 0.741 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01256, allocations: 4 kB / 0.741 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.01274, allocations: 67.89 kB / 0.741 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01275, allocations: 4 kB / 0.741 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.01283, allocations: 34.81 kB / 0.7411 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.01284, allocations: 11.98 kB / 0.7411 GB, free: 8.496 MB / 0.7136 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.497e-05/0.01293, allocations: 121.8 kB / 0.7412 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.01297, allocations: 35.91 kB / 0.7412 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.01302, allocations: 48.09 kB / 0.7413 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01303, allocations: 4 kB / 0.7413 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01303, allocations: 0.75 kB / 0.7413 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01303, allocations: 0 / 0.7413 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.01323, allocations: 218.3 kB / 0.7415 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01323, allocations: 0 / 0.7415 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.01336, allocations: 60.55 kB / 0.7415 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.01342, allocations: 53.02 kB / 0.7416 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.01343, allocations: 0 / 0.7416 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01344, allocations: 4 kB / 0.7416 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.01344, allocations: 7.984 kB / 0.7416 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01344, allocations: 2.438 kB / 0.7416 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.01382, allocations: 257.5 kB / 0.7419 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.01385, allocations: 11.94 kB / 0.7419 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.01392, allocations: 11.98 kB / 0.7419 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.01396, allocations: 11.97 kB / 0.7419 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01397, allocations: 10.78 kB / 0.7419 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001055/0.01407, allocations: 168.6 kB / 0.7421 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01407, allocations: 0 / 0.7421 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000175/0.01425, allocations: 63.89 kB / 0.7421 GB, free: 7.395 MB / 0.7136 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.181e-05/0.01434, allocations: 76.42 kB / 0.7422 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.01448, allocations: 117.5 kB / 0.7423 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.01449, allocations: 17.38 kB / 0.7423 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.01457, allocations: 75.14 kB / 0.7424 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.01514, allocations: 0.9155 MB / 0.7433 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.0169, allocations: 0.7027 MB / 0.744 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.212e-05/0.01698, allocations: 101.3 kB / 0.7441 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.01714, allocations: 55.41 kB / 0.7441 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.0173, allocations: 127.3 kB / 0.7442 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/0.0173, allocations: 4 kB / 0.7442 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of Templates: time 0.006899/0.0242, allocations: 4.396 MB / 0.7485 GB, free: 0.8633 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.767040327191353]