Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008987/0.0008987, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000995/0.000995, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.9254/0.9254, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.671/1.671, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.183e-05, allocations: 5.516 kB / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001364/0.001396, allocations: 0.5963 MB / 0.9523 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.525e-05/0.001441, allocations: 4 kB / 0.9523 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.00146, allocations: 0 / 0.9523 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.001493, allocations: 0 / 0.9523 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-06/0.001503, allocations: 3.938 kB / 0.9523 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.623e-05/0.001539, allocations: 4 kB / 0.9523 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.001596, allocations: 0 / 0.9523 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.00165, allocations: 7.938 kB / 0.9523 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.001688, allocations: 4 kB / 0.9523 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.00171, allocations: 0 / 0.9523 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.001733, allocations: 0 / 0.9523 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-06/0.001737, allocations: 0 / 0.9523 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.00175, allocations: 0 / 0.9523 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.001768, allocations: 0 / 0.9523 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.521e-05/0.001823, allocations: 0 / 0.9523 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.001826, allocations: 4 kB / 0.9523 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.212e-06/0.001827, allocations: 4 kB / 0.9523 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.001832, allocations: 0 / 0.9523 GB, free: 2.414 MB / 0.9011 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.0002266/0.002058, allocations: 238.4 kB / 0.9525 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.002096, allocations: 8.031 kB / 0.9525 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.002125, allocations: 0.9375 kB / 0.9525 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.987e-05/0.002185, allocations: 101.8 kB / 0.9526 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.002197, allocations: 8.375 kB / 0.9526 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.002205, allocations: 384 / 0.9526 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.72e-05/0.002282, allocations: 26.27 kB / 0.9527 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.00229, allocations: 192 / 0.9527 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.002299, allocations: 8.359 kB / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.002303, allocations: 4.312 kB / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.00232, allocations: 7.938 kB / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.339e-05/0.002413, allocations: 101.2 kB / 0.9528 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.00245, allocations: 18.61 kB / 0.9528 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.002472, allocations: 12.86 kB / 0.9528 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.002482, allocations: 0 / 0.9528 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.002499, allocations: 34.62 kB / 0.9528 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.0025, allocations: 0 / 0.9528 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001134/0.002614, allocations: 37.64 kB / 0.9529 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.002649, allocations: 51.41 kB / 0.9529 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.679e-05/0.002676, allocations: 93.84 kB / 0.953 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.002686, allocations: 25.7 kB / 0.953 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.002709, allocations: 84.14 kB / 0.9531 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.002738, allocations: 3.953 kB / 0.9531 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.002762, allocations: 13.72 kB / 0.9531 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.002848, allocations: 314.8 kB / 0.9534 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.002859, allocations: 4 kB / 0.9534 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-06/0.002864, allocations: 0 / 0.9534 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.002891, allocations: 16.98 kB / 0.9535 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.002893, allocations: 0 / 0.9535 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.579e-05/0.002929, allocations: 33.7 kB / 0.9535 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.002942, allocations: 6.5 kB / 0.9535 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.002949, allocations: 7.922 kB / 0.9535 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.002964, allocations: 4 kB / 0.9535 GB, free: 1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.003023, allocations: 0 / 0.9535 GB, free: 1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.003028, allocations: 0 / 0.9535 GB, free: 1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.003039, allocations: 3.938 kB / 0.9535 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.003044, allocations: 3.938 kB / 0.9535 GB, free: 0.9922 MB / 0.9011 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.695e-05/0.003101, allocations: 113.9 kB / 0.9536 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-06/0.003104, allocations: 0 / 0.9536 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.003121, allocations: 3 kB / 0.9536 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.003123, allocations: 0 / 0.9536 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.003128, allocations: 0 / 0.9536 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00313, allocations: 0 / 0.9536 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.344e-05/0.003184, allocations: 105.2 kB / 0.9537 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.003184, allocations: 0 / 0.9537 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-06/0.003189, allocations: 0 / 0.9537 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.00319, allocations: 0 / 0.9537 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.003195, allocations: 0 / 0.9537 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.003196, allocations: 11.94 kB / 0.9537 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.003197, allocations: 0 / 0.9537 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.757e-05/0.003255, allocations: 57.08 kB / 0.9538 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-06/0.003261, allocations: 7.984 kB / 0.9538 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.003269, allocations: 0 / 0.9538 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-06/0.003272, allocations: 0 / 0.9538 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.003284, allocations: 0 / 0.9538 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.003286, allocations: 0 / 0.9538 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.242e-05/0.003308, allocations: 75.28 kB / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.003308, allocations: 0 / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000112/0.00342, allocations: 8.031 kB / 0.9539 GB, free: 0.5625 MB / 0.9011 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 8.715e-05/0.003507, allocations: 95.19 kB / 0.954 GB, free: 468 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.442e-05/0.003582, allocations: 11.94 kB / 0.954 GB, free: 456 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.003584, allocations: 0 / 0.954 GB, free: 456 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.003587, allocations: 0 / 0.954 GB, free: 456 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.94e-05/0.003686, allocations: 4 kB / 0.954 GB, free: 452 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.003903, allocations: 102.6 kB / 0.9541 GB, free: 316 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.00394, allocations: 55.36 kB / 0.9541 GB, free: 240 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.003961, allocations: 12.62 kB / 0.9541 GB, free: 228 kB / 0.9011 GB Notification: Performance of SimCode: time 6.62e-07/0.003962, allocations: 0 / 0.9541 GB, free: 228 kB / 0.9011 GB Notification: Performance of Templates: time 0.001339/0.005301, allocations: 339.8 kB / 0.9545 GB, free: 15.89 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.514597604051232]