Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001641/0.001641, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002084/0.002084, allocations: 200.1 kB / 22.17 MB, free: 5.203 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.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.873/2.873, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.7 MB / 1.274 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002997/1.048, allocations: 1.464 MB / 1.275 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005693/1.049, allocations: 183.4 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/1.049, allocations: 8 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/1.049, allocations: 7.922 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/1.049, allocations: 15.92 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/1.049, allocations: 63.84 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/1.049, allocations: 59.84 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/1.049, allocations: 3.938 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.955e-05/1.049, allocations: 23.97 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/1.05, allocations: 19.92 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/1.05, allocations: 8 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/1.05, allocations: 4 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/1.05, allocations: 23.86 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/1.05, allocations: 19.91 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/1.05, allocations: 55.61 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.05, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/1.05, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.05, allocations: 0 / 1.276 GB, free: 2.379 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005661/1.05, allocations: 350.2 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/1.05, allocations: 12.03 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/1.05, allocations: 4.938 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/1.051, allocations: 176.3 kB / 1.276 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.051, allocations: 384 / 1.276 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/1.051, allocations: 4.375 kB / 1.276 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/1.051, allocations: 68.81 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.051, allocations: 7.875 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.051, allocations: 4 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.051, allocations: 8 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/1.051, allocations: 19.98 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/1.051, allocations: 268.9 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.051, allocations: 42.5 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/1.051, allocations: 12.86 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/1.051, allocations: 3.984 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/1.052, allocations: 67.48 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/1.052, allocations: 0 / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/1.052, allocations: 77.62 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/1.052, allocations: 106.8 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/1.052, allocations: 109.8 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.052, allocations: 25.7 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/1.052, allocations: 88.14 kB / 1.277 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/1.052, allocations: 15.88 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/1.052, allocations: 17.72 kB / 1.277 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.052, allocations: 322.8 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-05/1.052, allocations: 8 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/1.052, allocations: 38.56 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/1.052, allocations: 20.86 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.052, allocations: 4 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001059/1.053, allocations: 65.61 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.053, allocations: 5.562 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.053, allocations: 4 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/1.053, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/1.053, allocations: 4 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/1.053, allocations: 3.938 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/1.053, allocations: 15.98 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-06/1.053, allocations: 0 / 1.278 GB, free: 188 kB / 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.731e-05/1.053, allocations: 113.8 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/1.053, allocations: 8.422 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/1.053, allocations: 11.5 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/1.053, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.053, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/1.053, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.053, allocations: 181.5 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.053, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/1.053, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.053, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.053, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.053, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.053, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/1.053, allocations: 96.98 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/1.053, allocations: 85.09 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/1.053, allocations: 0 / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.053, allocations: 11.98 kB / 1.278 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/1.053, allocations: 7.938 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.053, allocations: 0 / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.744e-05/1.054, allocations: 91.27 kB / 1.278 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.054, allocations: 4 kB / 1.278 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001896/1.054, allocations: 8 kB / 1.278 GB, free: 15.47 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001245/1.054, allocations: 99.78 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001318/1.054, allocations: 35.86 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.054, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/1.054, allocations: 12.23 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/1.054, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/1.055, allocations: 139.1 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/1.055, allocations: 0.6863 MB / 1.279 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.618e-05/1.055, allocations: 4 kB / 1.279 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/1.055, allocations: 15.44 kB / 1.279 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/1.055, allocations: 0 / 1.279 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.00349/1.059, allocations: 0.8981 MB / 1.28 GB, free: 13.54 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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: 9.190064632333815]