Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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.001561/0.001561, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002054/0.002054, allocations: 164.8 kB / 22.46 MB, free: 5.371 MB / 14.72 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.859/2.859, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 3.938 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.805e-05, allocations: 6.281 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001642/0.00167, allocations: 0.5934 MB / 0.982 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 3.733e-05/0.001707, allocations: 3.984 kB / 0.982 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.001724, allocations: 4 kB / 0.982 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.001751, allocations: 4 kB / 0.982 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.001756, allocations: 0 / 0.982 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.96e-05/0.001796, allocations: 4 kB / 0.982 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.001845, allocations: 0 / 0.982 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.001886, allocations: 3.938 kB / 0.982 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.001917, allocations: 4 kB / 0.982 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.249e-05/0.001939, allocations: 3.938 kB / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.00195, allocations: 0 / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-06/0.001954, allocations: 0 / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.001964, allocations: 0 / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.001983, allocations: 0 / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 4.611e-05/0.002029, allocations: 7.938 kB / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002032, allocations: 0 / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.715e-06/0.002034, allocations: 3.984 kB / 0.982 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.00204, allocations: 4 kB / 0.982 GB, free: 11.4 MB / 0.9356 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.0002676/0.002307, allocations: 230.5 kB / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.002347, allocations: 12.06 kB / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.002377, allocations: 4.891 kB / 0.9822 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.608e-05/0.002463, allocations: 101.8 kB / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.002473, allocations: 384 / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.002482, allocations: 4.375 kB / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.002562, allocations: 30.25 kB / 0.9824 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.002572, allocations: 8.188 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.002579, allocations: 384 / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.002584, allocations: 4.359 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.002605, allocations: 7.938 kB / 0.9824 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.002728, allocations: 93.33 kB / 0.9825 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/0.002773, allocations: 26.55 kB / 0.9825 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.002797, allocations: 4.859 kB / 0.9825 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.002807, allocations: 0 / 0.9825 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.002835, allocations: 34.62 kB / 0.9825 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 2.895e-06/0.002837, allocations: 4 kB / 0.9825 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.002958, allocations: 41.62 kB / 0.9826 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.003006, allocations: 51.41 kB / 0.9826 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.00305, allocations: 89.86 kB / 0.9827 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.003066, allocations: 25.7 kB / 0.9827 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.0031, allocations: 80.14 kB / 0.9828 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.003127, allocations: 0 / 0.9828 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.003153, allocations: 17.66 kB / 0.9828 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.003296, allocations: 314.8 kB / 0.9831 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.003305, allocations: 0 / 0.9831 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.003311, allocations: 8.125 kB / 0.9831 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.003338, allocations: 8.859 kB / 0.9832 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003339, allocations: 4 kB / 0.9832 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.516e-05/0.003394, allocations: 37.62 kB / 0.9832 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.003409, allocations: 4 kB / 0.9832 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.003412, allocations: 3.938 kB / 0.9832 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.003425, allocations: 0 / 0.9832 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.003477, allocations: 4 kB / 0.9832 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.003481, allocations: 0 / 0.9832 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.003493, allocations: 3.938 kB / 0.9832 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.003497, allocations: 4.094 kB / 0.9832 GB, free: 9.984 MB / 0.9356 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.811e-05/0.003575, allocations: 112.5 kB / 0.9833 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-06/0.003581, allocations: 0 / 0.9833 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.003595, allocations: 7 kB / 0.9833 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.003597, allocations: 0 / 0.9833 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.0036, allocations: 0 / 0.9833 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.003607, allocations: 3.984 kB / 0.9833 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.367e-05/0.00368, allocations: 97.27 kB / 0.9834 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.003681, allocations: 4 kB / 0.9834 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-06/0.00369, allocations: 0 / 0.9834 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.003691, allocations: 4 kB / 0.9834 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.003697, allocations: 0 / 0.9834 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.003697, allocations: 0 / 0.9834 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.003698, allocations: 0 / 0.9834 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.612e-05/0.003774, allocations: 65 kB / 0.9835 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-06/0.003778, allocations: 0 / 0.9835 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.003789, allocations: 4 kB / 0.9835 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.003801, allocations: 8 kB / 0.9835 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.00381, allocations: 0 / 0.9835 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.003811, allocations: 0 / 0.9835 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.003844, allocations: 75.28 kB / 0.9836 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.003844, allocations: 4.031 kB / 0.9836 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001807/0.004025, allocations: 0 / 0.9836 GB, free: 9.555 MB / 0.9356 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 9.395e-05/0.004119, allocations: 103.1 kB / 0.9837 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.004185, allocations: 11.98 kB / 0.9837 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.004187, allocations: 0 / 0.9837 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.004193, allocations: 3.938 kB / 0.9837 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.004323, allocations: 6.672 kB / 0.9837 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.004517, allocations: 76.88 kB / 0.9838 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.084e-05/0.004578, allocations: 59.48 kB / 0.9838 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.078e-05/0.004588, allocations: 0 / 0.9838 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.00461, allocations: 8.5 kB / 0.9838 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.004611, allocations: 0 / 0.9838 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of Templates: time 0.002178/0.006789, allocations: 169 kB / 0.984 GB, free: 9.07 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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.886956736445427]