Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001175/0.001175, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002773, 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.001069/0.001069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.00238, 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 1.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08802/1.11, 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.415/2.415, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.23/2.645, allocations: 145.9 MB / 0.817 GB, free: 4.242 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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.375e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001189/0.001213, allocations: 0.6338 MB / 0.819 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 2.434e-05/0.001237, allocations: 11.92 kB / 0.819 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.001252, allocations: 0 / 0.819 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.001271, allocations: 0 / 0.819 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.089e-05/0.001281, allocations: 0 / 0.819 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.389e-05/0.001295, allocations: 0 / 0.819 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.272e-05/0.001338, allocations: 4 kB / 0.819 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.001372, allocations: 4 kB / 0.819 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.001406, allocations: 4 kB / 0.819 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.104e-05/0.001427, allocations: 0 / 0.819 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.001441, allocations: 0 / 0.819 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.001446, allocations: 0 / 0.819 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.001454, allocations: 0 / 0.819 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.00147, allocations: 3.938 kB / 0.819 GB, free: 2.227 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.12e-05/0.001521, allocations: 0 / 0.819 GB, free: 2.227 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.001534, allocations: 0 / 0.819 GB, free: 2.227 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.52e-07/0.001535, allocations: 4 kB / 0.819 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.001547, allocations: 0 / 0.819 GB, free: 2.223 MB / 0.7917 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.0001988/0.001746, allocations: 220.7 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.001775, allocations: 8.625 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.001798, allocations: 0.9375 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.223e-05/0.00185, allocations: 105.8 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.001858, allocations: 384 / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.001864, allocations: 4.312 kB / 0.8193 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.516e-05/0.00193, allocations: 34.25 kB / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.001935, allocations: 192 / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.001941, allocations: 384 / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.001944, allocations: 384 / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.191e-05/0.001956, allocations: 7.938 kB / 0.8194 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.175e-05/0.002028, allocations: 57.05 kB / 0.8194 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.002065, allocations: 18.58 kB / 0.8194 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.002085, allocations: 12.89 kB / 0.8194 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.002092, allocations: 3.984 kB / 0.8194 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.002115, allocations: 34.55 kB / 0.8195 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.002116, allocations: 0 / 0.8195 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.002229, allocations: 37.69 kB / 0.8195 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.002264, allocations: 51.41 kB / 0.8196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.082e-05/0.002295, allocations: 93.98 kB / 0.8196 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.002303, allocations: 29.7 kB / 0.8197 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.002323, allocations: 80.14 kB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.002353, allocations: 0 / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.002376, allocations: 9.719 kB / 0.8198 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.002454, allocations: 322.7 kB / 0.8201 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.002461, allocations: 3.938 kB / 0.8201 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.002465, allocations: 0 / 0.8201 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.097e-05/0.002486, allocations: 8.859 kB / 0.8201 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.002488, allocations: 0 / 0.8201 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.523e-05/0.002523, allocations: 37.75 kB / 0.8201 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.002537, allocations: 4 kB / 0.8201 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.002542, allocations: 0 / 0.8201 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.00255, allocations: 4 kB / 0.8201 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.002607, allocations: 0 / 0.8201 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.002609, allocations: 0 / 0.8201 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-06/0.002618, allocations: 0 / 0.8201 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.002622, allocations: 3.938 kB / 0.8201 GB, free: 0.8984 MB / 0.7917 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 5.318e-05/0.002675, allocations: 113.8 kB / 0.8202 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-06/0.002678, allocations: 0 / 0.8202 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.002693, allocations: 15.02 kB / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.002694, allocations: 0 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.002697, allocations: 0 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.002699, allocations: 0 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.453e-05/0.002744, allocations: 65.84 kB / 0.8203 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.002744, allocations: 0 / 0.8203 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.002751, allocations: 4 kB / 0.8203 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.002767, allocations: 4 kB / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.002768, allocations: 0 / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-06/0.002771, allocations: 0 / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.002771, allocations: 0 / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.002772, allocations: 4 kB / 0.8203 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.825e-05/0.00282, allocations: 65.05 kB / 0.8204 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-06/0.002827, allocations: 0 / 0.8204 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-06/0.00283, allocations: 3.938 kB / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.002839, allocations: 0 / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.002841, allocations: 0 / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.28e-06/0.002846, allocations: 4.859 kB / 0.8204 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.002846, allocations: 0 / 0.8204 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of remove unused functions: time 8.369e-05/0.00293, allocations: 4 kB / 0.8204 GB, free: 0.5742 MB / 0.7917 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.0003277/0.003257, allocations: 80.44 kB / 0.8205 GB, free: 496 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 4.247e-05/0.0033, allocations: 12.8 kB / 0.8205 GB, free: 480 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.003305, allocations: 4 kB / 0.8205 GB, free: 476 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-06/0.003311, allocations: 8.859 kB / 0.8205 GB, free: 464 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.614e-05/0.003357, allocations: 3.938 kB / 0.8205 GB, free: 460 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.003628, allocations: 98.14 kB / 0.8206 GB, free: 332 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.618e-05/0.003654, allocations: 51.36 kB / 0.8206 GB, free: 260 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.171e-05/0.003666, allocations: 0 / 0.8206 GB, free: 260 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.003692, allocations: 51.5 kB / 0.8207 GB, free: 208 kB / 0.7917 GB Notification: Performance of SimCode: time 5.21e-07/0.003692, allocations: 4 kB / 0.8207 GB, free: 204 kB / 0.7917 GB Notification: Performance of Templates: time 0.001441/0.005133, allocations: 208.7 kB / 0.8209 GB, free: 15.99 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime/Buildings_latest_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: 5.188285635784268]