Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001114/0.001114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002695, allocations: 449.7 kB / 10.37 MB, free: 328 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.001272/0.001272, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002603, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9756/0.9756, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09931/1.075, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.896/1.896, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5302/2.426, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.612e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002005/0.002032, allocations: 0.6376 MB / 0.73 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 2.349e-05/0.002055, allocations: 4.688 kB / 0.73 GB, free: 3.859 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.00207, allocations: 0 / 0.73 GB, free: 3.859 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.002091, allocations: 2.844 kB / 0.73 GB, free: 3.859 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.259e-05/0.002104, allocations: 0 / 0.73 GB, free: 3.859 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.709e-05/0.002121, allocations: 4 kB / 0.73 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.002176, allocations: 0.7656 kB / 0.73 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.002221, allocations: 4.547 kB / 0.73 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.00226, allocations: 6.703 kB / 0.73 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.973e-05/0.00229, allocations: 0 / 0.73 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.002308, allocations: 0.7656 kB / 0.73 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-06/0.002313, allocations: 0 / 0.73 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.002325, allocations: 0 / 0.73 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.002348, allocations: 8.984 kB / 0.73 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.092e-05/0.002419, allocations: 5.141 kB / 0.73 GB, free: 3.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-05/0.002439, allocations: 0 / 0.73 GB, free: 3.836 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00244, allocations: 5.344 kB / 0.73 GB, free: 3.832 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.002459, allocations: 0 / 0.73 GB, free: 3.832 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.0002808/0.00274, allocations: 208.8 kB / 0.7302 GB, free: 3.602 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.002783, allocations: 18.61 kB / 0.7302 GB, free: 3.586 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.002816, allocations: 0.9375 kB / 0.7302 GB, free: 3.586 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.968e-05/0.002895, allocations: 102.3 kB / 0.7303 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.002906, allocations: 384 / 0.7303 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.002915, allocations: 4.375 kB / 0.7303 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.984e-05/0.003005, allocations: 31.08 kB / 0.7304 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.003016, allocations: 192 / 0.7304 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.003024, allocations: 0.875 kB / 0.7304 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.003031, allocations: 2.516 kB / 0.7304 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.497e-05/0.003056, allocations: 7.938 kB / 0.7304 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.471e-05/0.00314, allocations: 54.17 kB / 0.7304 GB, free: 3.348 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.434e-05/0.003185, allocations: 26.55 kB / 0.7305 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.003207, allocations: 9.562 kB / 0.7305 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.003213, allocations: 0 / 0.7305 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.00324, allocations: 35.16 kB / 0.7305 GB, free: 3.258 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.003241, allocations: 0.9375 kB / 0.7305 GB, free: 3.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.003346, allocations: 33.64 kB / 0.7305 GB, free: 3.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.003386, allocations: 52.28 kB / 0.7306 GB, free: 3.156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.528e-05/0.003421, allocations: 89.86 kB / 0.7307 GB, free: 3.059 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.003432, allocations: 27.14 kB / 0.7307 GB, free: 3.027 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.003458, allocations: 80.14 kB / 0.7308 GB, free: 2.945 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.003494, allocations: 5.094 kB / 0.7308 GB, free: 2.941 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.003527, allocations: 13.72 kB / 0.7308 GB, free: 2.922 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.00363, allocations: 319.4 kB / 0.7311 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-06/0.003638, allocations: 0 / 0.7311 GB, free: 2.602 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.003645, allocations: 4.688 kB / 0.7311 GB, free: 2.598 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.003675, allocations: 10.48 kB / 0.7311 GB, free: 2.586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.003677, allocations: 0 / 0.7311 GB, free: 2.586 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.473e-05/0.003732, allocations: 33.64 kB / 0.7311 GB, free: 2.547 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.003746, allocations: 8.594 kB / 0.7312 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.003752, allocations: 0 / 0.7312 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.003762, allocations: 2.172 kB / 0.7312 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.003831, allocations: 0 / 0.7312 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.003834, allocations: 4 kB / 0.7312 GB, free: 2.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.003846, allocations: 4.859 kB / 0.7312 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.00385, allocations: 0 / 0.7312 GB, free: 2.531 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 7.98e-05/0.003929, allocations: 114.4 kB / 0.7313 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.003937, allocations: 0.6875 kB / 0.7313 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.003955, allocations: 7 kB / 0.7313 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.003957, allocations: 1.75 kB / 0.7313 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.003959, allocations: 0.875 kB / 0.7313 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.003961, allocations: 0 / 0.7313 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.797e-05/0.004019, allocations: 61.84 kB / 0.7313 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.004021, allocations: 0 / 0.7313 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.004041, allocations: 8.578 kB / 0.7314 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.004049, allocations: 3.984 kB / 0.7314 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.004051, allocations: 1 kB / 0.7314 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.004054, allocations: 0 / 0.7314 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004055, allocations: 1.297 kB / 0.7314 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.004057, allocations: 4 kB / 0.7314 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.004129, allocations: 61.61 kB / 0.7314 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.004137, allocations: 1.125 kB / 0.7314 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-06/0.004143, allocations: 0 / 0.7314 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.004155, allocations: 7.984 kB / 0.7314 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.004157, allocations: 0.9062 kB / 0.7314 GB, free: 2.223 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.233e-06/0.004164, allocations: 5.625 kB / 0.7314 GB, free: 2.215 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.004164, allocations: 1.25 kB / 0.7314 GB, free: 2.215 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001462/0.004311, allocations: 0 / 0.7314 GB, free: 2.215 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.000105/0.004416, allocations: 77.45 kB / 0.7315 GB, free: 2.129 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.461e-05/0.00448, allocations: 8.859 kB / 0.7315 GB, free: 2.117 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.004485, allocations: 0.5625 kB / 0.7315 GB, free: 2.117 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.004494, allocations: 14.55 kB / 0.7315 GB, free: 2.102 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.076e-05/0.004565, allocations: 4.703 kB / 0.7315 GB, free: 2.098 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.005005, allocations: 89.78 kB / 0.7316 GB, free: 1.984 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.005045, allocations: 55.36 kB / 0.7317 GB, free: 1.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.005063, allocations: 1.219 kB / 0.7317 GB, free: 1.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.005109, allocations: 51.36 kB / 0.7317 GB, free: 1.859 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/0.00511, allocations: 0 / 0.7317 GB, free: 1.859 MB / 0.698 GB Notification: Performance of Templates: time 0.002082/0.007193, allocations: 211.9 kB / 0.7319 GB, free: 1.66 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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: 4.989310562610626]