Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001509/0.001509, allocations: 90.58 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001675/0.001675, allocations: 169.6 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.747/2.747, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.7864 GB, free: 11.62 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.119e-05/4.347e-05, allocations: 6.328 kB / 0.7864 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00223/0.002274, allocations: 0.5832 MB / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 4.668e-05/0.002321, allocations: 0.5938 kB / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.002343, allocations: 5 kB / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.00237, allocations: 0 / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.002403, allocations: 0 / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.869e-05/0.002442, allocations: 4.906 kB / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.002501, allocations: 0 / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.002546, allocations: 0 / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.002596, allocations: 4.75 kB / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.002621, allocations: 0 / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.002634, allocations: 0.8438 kB / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-06/0.002639, allocations: 0 / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.002652, allocations: 0.9375 kB / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.002676, allocations: 0 / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.618e-05/0.002732, allocations: 0 / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.002735, allocations: 0.6562 kB / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002736, allocations: 4 kB / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.002741, allocations: 1.094 kB / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003419/0.003082, allocations: 242.4 kB / 0.7872 GB, free: 10.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.003124, allocations: 10.06 kB / 0.7873 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.00317, allocations: 4.891 kB / 0.7873 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.003278, allocations: 105.7 kB / 0.7874 GB, free: 10.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.003299, allocations: 8.359 kB / 0.7874 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.003307, allocations: 384 / 0.7874 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.003404, allocations: 27.05 kB / 0.7874 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.003413, allocations: 192 / 0.7874 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.003422, allocations: 1.094 kB / 0.7874 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.003429, allocations: 4.359 kB / 0.7874 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.003452, allocations: 9.25 kB / 0.7874 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.003607, allocations: 97.33 kB / 0.7875 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.00366, allocations: 22.55 kB / 0.7875 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.003685, allocations: 6.234 kB / 0.7875 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.003697, allocations: 0 / 0.7875 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.003733, allocations: 34.62 kB / 0.7876 GB, free: 10.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.003734, allocations: 1.062 kB / 0.7876 GB, free: 10.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.003893, allocations: 37.64 kB / 0.7876 GB, free: 10.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.003947, allocations: 56.83 kB / 0.7877 GB, free: 10.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.004013, allocations: 89.86 kB / 0.7877 GB, free: 10.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.004033, allocations: 25.7 kB / 0.7878 GB, free: 10.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.004082, allocations: 84.14 kB / 0.7878 GB, free: 10.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.004115, allocations: 5.094 kB / 0.7878 GB, free: 10.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.004149, allocations: 9.719 kB / 0.7879 GB, free: 10.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.004334, allocations: 314.8 kB / 0.7882 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.004343, allocations: 5.594 kB / 0.7882 GB, free: 9.707 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.004354, allocations: 4 kB / 0.7882 GB, free: 9.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.004389, allocations: 8.859 kB / 0.7882 GB, free: 9.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00439, allocations: 1.656 kB / 0.7882 GB, free: 9.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.977e-05/0.00447, allocations: 33.64 kB / 0.7882 GB, free: 9.652 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.004489, allocations: 7.984 kB / 0.7882 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.004495, allocations: 4 kB / 0.7882 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.004516, allocations: 2.594 kB / 0.7882 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.004574, allocations: 0 / 0.7882 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.004579, allocations: 0 / 0.7882 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.004593, allocations: 3.938 kB / 0.7882 GB, free: 9.637 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.004602, allocations: 3.984 kB / 0.7882 GB, free: 9.633 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.516e-05/0.004697, allocations: 113.8 kB / 0.7883 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.004704, allocations: 0.6562 kB / 0.7883 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.004722, allocations: 6.938 kB / 0.7883 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.004724, allocations: 1.656 kB / 0.7883 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.004728, allocations: 0 / 0.7883 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.004733, allocations: 4 kB / 0.7883 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.004842, allocations: 109.2 kB / 0.7885 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004843, allocations: 1.375 kB / 0.7885 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.004855, allocations: 0 / 0.7885 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.004857, allocations: 0 / 0.7885 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.004864, allocations: 4 kB / 0.7885 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.004865, allocations: 1.75 kB / 0.7885 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.004866, allocations: 0 / 0.7885 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.004965, allocations: 69 kB / 0.7885 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.004971, allocations: 0 / 0.7885 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.004982, allocations: 0.5312 kB / 0.7885 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.004989, allocations: 0 / 0.7885 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.005003, allocations: 1 kB / 0.7885 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.005004, allocations: 0 / 0.7885 GB, free: 9.273 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.005048, allocations: 79.28 kB / 0.7886 GB, free: 9.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.005048, allocations: 1.906 kB / 0.7886 GB, free: 9.195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001923/0.005241, allocations: 0 / 0.7886 GB, free: 9.195 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (1): * Single equations (assignments): 1 * 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.0001639/0.005405, allocations: 99.19 kB / 0.7887 GB, free: 9.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.674e-05/0.005481, allocations: 6.062 kB / 0.7887 GB, free: 9.086 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005483, allocations: 0 / 0.7887 GB, free: 9.086 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.005495, allocations: 7.922 kB / 0.7887 GB, free: 9.078 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.00564, allocations: 2.25 kB / 0.7887 GB, free: 9.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.005936, allocations: 82.95 kB / 0.7888 GB, free: 8.969 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.005994, allocations: 55.89 kB / 0.7888 GB, free: 8.895 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.175e-05/0.006006, allocations: 0 / 0.7888 GB, free: 8.895 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.006037, allocations: 9.219 kB / 0.7889 GB, free: 8.887 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/0.006037, allocations: 0 / 0.7889 GB, free: 8.887 MB / 0.698 GB Notification: Performance of Templates: time 0.002451/0.008488, allocations: 199.2 kB / 0.789 GB, free: 8.695 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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: 7.623199546011165]