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.001347/0.001347, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001442/0.001442, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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.842/2.842, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 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.003312/0.003312, allocations: 71.88 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.196, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002478/1.198, allocations: 1.481 MB / 1.273 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004268/1.199, allocations: 184.7 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/1.199, allocations: 0.7188 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/1.199, allocations: 4.5 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/1.199, allocations: 20.66 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/1.199, allocations: 54.7 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/1.199, allocations: 60.38 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/1.199, allocations: 4.047 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/1.199, allocations: 23.02 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/1.199, allocations: 23.97 kB / 1.274 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/1.199, allocations: 8.531 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/1.199, allocations: 3.812 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/1.199, allocations: 17.06 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/1.199, allocations: 25.88 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/1.2, allocations: 51.77 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.2, allocations: 0 / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.2, allocations: 3.938 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.939e-06/1.2, allocations: 1.062 kB / 1.274 GB, free: 6.633 MB / 0.9981 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.0004464/1.2, allocations: 351.4 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.2, allocations: 13.06 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/1.2, allocations: 6.391 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/1.2, allocations: 167.1 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.2, allocations: 2.188 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/1.2, allocations: 2.469 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/1.2, allocations: 78.36 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/1.2, allocations: 1.375 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.2, allocations: 3.938 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.2, allocations: 8.953 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/1.2, allocations: 16.72 kB / 1.275 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/1.201, allocations: 271.2 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/1.201, allocations: 36.25 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/1.201, allocations: 15.94 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/1.201, allocations: 4.781 kB / 1.275 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/1.201, allocations: 66.11 kB / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/1.201, allocations: 0 / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/1.201, allocations: 75.62 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/1.201, allocations: 103.7 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/1.201, allocations: 104.4 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/1.201, allocations: 26.7 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/1.201, allocations: 88.34 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/1.201, allocations: 17.5 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/1.201, allocations: 26 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/1.201, allocations: 321.2 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/1.202, allocations: 11.97 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.369e-05/1.202, allocations: 34.98 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/1.202, allocations: 24.8 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.202, allocations: 0.5312 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.932e-05/1.202, allocations: 64.62 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.202, allocations: 5.656 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/1.202, allocations: 0 / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.202, allocations: 0.9688 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/1.202, allocations: 7.328 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/1.202, allocations: 0 / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/1.202, allocations: 11.48 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/1.202, allocations: 2.672 kB / 1.276 GB, free: 4.742 MB / 0.9981 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 5.684e-05/1.202, allocations: 123.4 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/1.202, allocations: 6.047 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/1.202, allocations: 8.438 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.202, allocations: 1.031 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/1.202, allocations: 0 / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.202, allocations: 1.562 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.083e-05/1.202, allocations: 175.5 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.202, allocations: 0.9688 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/1.202, allocations: 8 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.202, allocations: 0.5938 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.202, allocations: 0.8438 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/1.202, allocations: 4.969 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.202, allocations: 192 / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/1.202, allocations: 90.48 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/1.202, allocations: 82.95 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/1.202, allocations: 10.19 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.202, allocations: 8.453 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/1.202, allocations: 8.5 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/1.202, allocations: 5.969 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.769e-05/1.202, allocations: 86.88 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.202, allocations: 0 / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001914/1.203, allocations: 14.39 kB / 1.276 GB, free: 4.121 MB / 0.9981 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 8.523e-05/1.203, allocations: 108.6 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001186/1.203, allocations: 27.22 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.203, allocations: 0.8125 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/1.203, allocations: 13.84 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/1.203, allocations: 16.88 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/1.203, allocations: 135.2 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.297e-05/1.203, allocations: 0.6841 MB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.848e-05/1.203, allocations: 5.781 kB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/1.203, allocations: 10.31 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.203, allocations: 0 / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of Templates: time 0.003454/1.207, allocations: 0.8824 MB / 1.278 GB, free: 3.074 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.312363050878048]