Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 160.7 MB / 1.214 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00191/0.3529, allocations: 0.5983 MB / 1.215 GB, free: 384 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 5.78e-05/0.3529, allocations: 4 kB / 1.215 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.3529, allocations: 0 / 1.215 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.353, allocations: 0 / 1.215 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.353, allocations: 0 / 1.215 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.163e-05/0.353, allocations: 4 kB / 1.215 GB, free: 376 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.3531, allocations: 7.922 kB / 1.215 GB, free: 368 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.3531, allocations: 4 kB / 1.215 GB, free: 364 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.3532, allocations: 0 / 1.215 GB, free: 364 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.3532, allocations: 0 / 1.215 GB, free: 364 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3532, allocations: 0 / 1.215 GB, free: 364 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-06/0.3532, allocations: 4 kB / 1.215 GB, free: 360 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.3532, allocations: 3.984 kB / 1.215 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.3532, allocations: 3.938 kB / 1.215 GB, free: 352 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 5.239e-05/0.3533, allocations: 4 kB / 1.215 GB, free: 348 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3533, allocations: 0 / 1.215 GB, free: 348 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3533, allocations: 0 / 1.215 GB, free: 348 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3533, allocations: 0 / 1.215 GB, free: 348 kB / 0.9512 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.000366/0.3537, allocations: 311.5 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3537, allocations: 12.06 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3537, allocations: 4.938 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3539, allocations: 160.4 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3539, allocations: 384 / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3539, allocations: 384 / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.354, allocations: 30.27 kB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.354, allocations: 192 / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.354, allocations: 3.938 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.354, allocations: 0 / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.354, allocations: 7.922 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3542, allocations: 165.6 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.3542, allocations: 14.58 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.3543, allocations: 8.953 kB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.3543, allocations: 0 / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3543, allocations: 34.5 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.3543, allocations: 0 / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.3544, allocations: 41.67 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3545, allocations: 59.42 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.3545, allocations: 89.86 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3546, allocations: 29.7 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.3546, allocations: 80.14 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3546, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.3547, allocations: 9.719 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3548, allocations: 310.8 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.3548, allocations: 8 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.3548, allocations: 4 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.3549, allocations: 12.8 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3549, allocations: 0 / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.233e-05/0.3549, allocations: 33.64 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3549, allocations: 7.984 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3549, allocations: 0 / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3549, allocations: 3.938 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.355, allocations: 4 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.355, allocations: 4.094 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.355, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.355, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 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.975e-05/0.3551, allocations: 113.8 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-06/0.3551, allocations: 0 / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.3551, allocations: 7.062 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3551, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3551, allocations: 4 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3551, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3552, allocations: 145.7 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3552, allocations: 4 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.3552, allocations: 4 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.3553, allocations: 0 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3553, allocations: 3.938 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3553, allocations: 0 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3553, allocations: 3.938 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.005e-05/0.3553, allocations: 61.12 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.3554, allocations: 81.14 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.3554, allocations: 3.938 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-06/0.3554, allocations: 0 / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.3554, allocations: 0 / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3554, allocations: 4 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.3554, allocations: 75.28 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 3.938 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001645/0.3556, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 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.0001082/0.3557, allocations: 95.25 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.299e-05/0.3558, allocations: 15.92 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3558, allocations: 0 / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-06/0.3558, allocations: 8 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.3559, allocations: 3.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.3562, allocations: 102.6 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3565, allocations: 0.669 MB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.3565, allocations: 7.438 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3565, allocations: 4.125 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.001827/0.3583, allocations: 331.8 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.313958760816604]