Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001379/0.001379, allocations: 109 kB / 16.45 MB, free: 6.508 MB / 14.72 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.001488/0.001488, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.347/3.347, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 66.89 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.466, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002962/0.469, allocations: 1.48 MB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004996/0.4695, allocations: 195.4 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.4695, allocations: 0 / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.4696, allocations: 3.984 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.4698, allocations: 23.8 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.47, allocations: 67.78 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.4702, allocations: 55.84 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.4703, allocations: 7.938 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.4703, allocations: 23.92 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.4704, allocations: 27.91 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.4705, allocations: 4 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.4705, allocations: 4 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.4705, allocations: 11.98 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.4705, allocations: 19.92 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.4707, allocations: 47.86 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4707, allocations: 0 / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4707, allocations: 0 / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4707, allocations: 0 / 1.323 GB, free: 0.8164 MB / 1.014 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.0006518/0.4713, allocations: 351.4 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4714, allocations: 15.98 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.4714, allocations: 4.891 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4716, allocations: 176.2 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4716, allocations: 384 / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.4717, allocations: 4.375 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.4718, allocations: 84.75 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4718, allocations: 192 / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.4719, allocations: 3.938 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4719, allocations: 0 / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.319e-05/0.4719, allocations: 19.92 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.4724, allocations: 272.9 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.4725, allocations: 34.56 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.4725, allocations: 20.86 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.4725, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.4727, allocations: 71.41 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4727, allocations: 3.938 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.4729, allocations: 69.81 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.473, allocations: 102.8 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.4731, allocations: 105.8 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4731, allocations: 29.7 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.4732, allocations: 92.09 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.4732, allocations: 7.938 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.4733, allocations: 21.72 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4734, allocations: 322.8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.4735, allocations: 8.188 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.4735, allocations: 42.61 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/0.4736, allocations: 28.89 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4736, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.4737, allocations: 57.67 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4737, allocations: 8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4737, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4737, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.4738, allocations: 7.938 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4738, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.4739, allocations: 19.88 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4739, allocations: 4 kB / 1.325 GB, free: 14.6 MB / 1.029 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.713e-05/0.474, allocations: 117.8 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.4741, allocations: 8 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.4741, allocations: 3.5 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4741, allocations: 3.938 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4741, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4741, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.4743, allocations: 173.6 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4743, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.4743, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4743, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4743, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4743, allocations: 192 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4743, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.4744, allocations: 100.9 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.4745, allocations: 85.09 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4745, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.4747, allocations: 18.17 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.4747, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4747, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.787e-05/0.4748, allocations: 91.27 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4748, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000192/0.4749, allocations: 11.94 kB / 1.326 GB, free: 13.89 MB / 1.029 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.0001554/0.4751, allocations: 107.2 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.4752, allocations: 27.98 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4752, allocations: 4 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.4753, allocations: 15.94 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.4755, allocations: 15.92 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.4758, allocations: 117.5 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4761, allocations: 0.6833 MB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.4762, allocations: 4 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.4762, allocations: 7.438 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4762, allocations: 8 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of Templates: time 0.003607/0.4798, allocations: 0.8831 MB / 1.328 GB, free: 12 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.532990143168718]