Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001213/0.001213, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002119/0.003333, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001287/0.001287, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001788/0.003075, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.009/1.009, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0932/1.102, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.901/1.901, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4992/2.401, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0.6562 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.171e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002621/0.002643, allocations: 1.562 MB / 0.7312 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.00295, allocations: 183.2 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.002984, allocations: 0 / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.003007, allocations: 0.7656 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.003133, allocations: 30.97 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.003278, allocations: 48.42 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003171/0.006449, allocations: 62.39 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.006524, allocations: 8.703 kB / 0.7315 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.723e-05/0.006621, allocations: 42.48 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.006692, allocations: 21.69 kB / 0.7316 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.006717, allocations: 9.75 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.006731, allocations: 4 kB / 0.7316 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.006757, allocations: 12.78 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.006787, allocations: 18.8 kB / 0.7316 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.006891, allocations: 30.7 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.006903, allocations: 0 / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.72e-07/0.006904, allocations: 0 / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.006918, allocations: 4.625 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004681/0.007386, allocations: 261.7 kB / 0.7319 GB, free: 2.145 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.007421, allocations: 12.69 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.00746, allocations: 4.938 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.007552, allocations: 110.7 kB / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.007571, allocations: 8.359 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.007588, allocations: 4.375 kB / 0.732 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.007727, allocations: 145.6 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.007734, allocations: 0.7344 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.007743, allocations: 0.9375 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.00775, allocations: 5.344 kB / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.007775, allocations: 11.92 kB / 0.7322 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.008055, allocations: 173 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.008132, allocations: 39.73 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.00815, allocations: 10.27 kB / 0.7324 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.008156, allocations: 0 / 0.7324 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.008266, allocations: 59.47 kB / 0.7325 GB, free: 1.484 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.008267, allocations: 1.906 kB / 0.7325 GB, free: 1.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001245/0.008392, allocations: 61.56 kB / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.008428, allocations: 51.41 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.008492, allocations: 110.7 kB / 0.7327 GB, free: 1.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.008511, allocations: 29.7 kB / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.008548, allocations: 85.73 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.008571, allocations: 19.77 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.008615, allocations: 25.7 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.008702, allocations: 318.8 kB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.008721, allocations: 4.562 kB / 0.7331 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.008776, allocations: 83.28 kB / 0.7332 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.008824, allocations: 24.78 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008826, allocations: 0 / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.382e-05/0.00891, allocations: 53.67 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.008926, allocations: 9.406 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.008932, allocations: 3.938 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.008945, allocations: 0 / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.009029, allocations: 11.98 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.009032, allocations: 0.5938 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.009097, allocations: 5.344 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.009104, allocations: 4 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 0.003097/0.0122, allocations: 117.8 kB / 0.7334 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.01222, allocations: 5.391 kB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.01224, allocations: 11.75 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01224, allocations: 0 / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01224, allocations: 1.25 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01224, allocations: 0 / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.01234, allocations: 77.84 kB / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01235, allocations: 0 / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.01237, allocations: 5.75 kB / 0.7335 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.0124, allocations: 11.97 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.0124, allocations: 0 / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.0124, allocations: 0.7188 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01241, allocations: 7.938 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01241, allocations: 4.531 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.021e-05/0.01249, allocations: 69.06 kB / 0.7336 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01251, allocations: 4.688 kB / 0.7336 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.01256, allocations: 12.47 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.01259, allocations: 11.92 kB / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.01259, allocations: 0 / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.01261, allocations: 8.859 kB / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 1.219 kB / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001478/0.01275, allocations: 19.94 kB / 0.7337 GB, free: 116 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001065/0.01286, allocations: 89.14 kB / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.552e-05/0.01296, allocations: 21.66 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.01296, allocations: 7.938 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.01299, allocations: 21.59 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.828e-05/0.01308, allocations: 11.98 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.01385, allocations: 150.5 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.01388, allocations: 55.36 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.01391, allocations: 4 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.01401, allocations: 67.34 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.01401, allocations: 1.781 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.006173/0.02018, allocations: 1.102 MB / 0.7352 GB, free: 14.57 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934669700451195]