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.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.002071/0.002071, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002009/0.002009, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.519/1.519, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001971/0.001971, allocations: 63.89 kB / 1.109 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9318/0.9337, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002073/0.9358, allocations: 0.605 MB / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.987e-05/0.9359, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.9359, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.9359, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.9359, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.949e-05/0.936, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.936, allocations: 4 kB / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.9361, allocations: 8 kB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.9361, allocations: 3.938 kB / 1.275 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.9361, allocations: 3.938 kB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.9361, allocations: 4 kB / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-06/0.9361, allocations: 0 / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.9361, allocations: 0 / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.9362, allocations: 0 / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.724e-05/0.9362, allocations: 11.92 kB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.9362, allocations: 0 / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9362, allocations: 0 / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.9362, allocations: 0 / 1.275 GB, free: 3.93 MB / 0.9669 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.0003475/0.9366, allocations: 315.5 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.9366, allocations: 8.031 kB / 1.275 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.9366, allocations: 4.938 kB / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.9368, allocations: 164.4 kB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.9368, allocations: 384 / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.9368, allocations: 384 / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.9369, allocations: 38.23 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.9369, allocations: 192 / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.9369, allocations: 3.938 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.9369, allocations: 0 / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.9369, allocations: 3.938 kB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.9371, allocations: 152.4 kB / 1.275 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.9371, allocations: 18.58 kB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.9372, allocations: 8.953 kB / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.9372, allocations: 0 / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.9372, allocations: 34.55 kB / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.9372, allocations: 0 / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.9374, allocations: 41.61 kB / 1.275 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.9374, allocations: 55.44 kB / 1.275 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.9375, allocations: 93.86 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.9375, allocations: 29.7 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.9375, allocations: 80.14 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.9375, allocations: 0 / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.9376, allocations: 9.719 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9377, allocations: 310.8 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.9377, allocations: 4 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.9377, allocations: 4 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.9378, allocations: 16.84 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.9378, allocations: 4 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.081e-05/0.9378, allocations: 33.64 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.9378, allocations: 4 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.9378, allocations: 0 / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9378, allocations: 7.938 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.9379, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.9379, allocations: 4.094 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-06/0.9379, allocations: 0 / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.9379, allocations: 0 / 1.276 GB, free: 2.285 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.745e-05/0.938, allocations: 109.8 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.938, allocations: 7.922 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.938, allocations: 7.062 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.938, allocations: 0 / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.938, allocations: 0 / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.938, allocations: 0 / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.9381, allocations: 145.7 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.9381, allocations: 8 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-06/0.9381, allocations: 0 / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.9381, allocations: 0 / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.9381, allocations: 3.938 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.9382, allocations: 3.984 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9382, allocations: 0 / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.585e-05/0.9382, allocations: 57.08 kB / 1.276 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.9383, allocations: 85.14 kB / 1.276 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.9383, allocations: 3.938 kB / 1.276 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.9383, allocations: 3.938 kB / 1.276 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.9383, allocations: 3.984 kB / 1.276 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.9383, allocations: 4 kB / 1.276 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.9383, allocations: 75.28 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9383, allocations: 0 / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002026/0.9385, allocations: 0 / 1.277 GB, free: 1.684 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.0001151/0.9387, allocations: 99.78 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.9387, allocations: 3.938 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9387, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-06/0.9387, allocations: 4 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.9389, allocations: 0 / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.9391, allocations: 88.86 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.9395, allocations: 0.6729 MB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.142e-05/0.9395, allocations: 0 / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.9395, allocations: 7.562 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.9395, allocations: 4 kB / 1.277 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of Templates: time 0.002176/0.9417, allocations: 169.2 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.996709942817688]