Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.001345/0.001345, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.003299/0.003299, allocations: 154.9 kB / 23.01 MB, free: 4.961 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.769/2.769, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [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.002177/0.002177, allocations: 59.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9844/0.9866, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002703/0.9893, allocations: 1.47 MB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004649/0.9898, allocations: 181.8 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.9898, allocations: 0 / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.9899, allocations: 7.938 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.9901, allocations: 24.22 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.9903, allocations: 53.73 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.9904, allocations: 59.34 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.9906, allocations: 7.047 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.9906, allocations: 22.58 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.9907, allocations: 22.84 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.9907, allocations: 2.562 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.9907, allocations: 5.25 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.9908, allocations: 26.11 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.9908, allocations: 13.56 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.9909, allocations: 51.02 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.9909, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9909, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9909, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 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.0005177/0.9915, allocations: 278.4 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.9915, allocations: 10.5 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.9915, allocations: 10.97 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.9916, allocations: 105.4 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.9917, allocations: 11.34 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.9917, allocations: 384 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.9918, allocations: 131.4 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9918, allocations: 192 / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.9919, allocations: 11.3 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9919, allocations: 0 / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.9919, allocations: 18.47 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.9922, allocations: 214.6 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.202e-05/0.9923, allocations: 35.72 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.9923, allocations: 17.55 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.9923, allocations: 6.75 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.9925, allocations: 60.81 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9925, allocations: 0 / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.9927, allocations: 74.5 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.9927, allocations: 108.7 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.9928, allocations: 101.7 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.9928, allocations: 25.7 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.9928, allocations: 90.42 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.9929, allocations: 11.84 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.9929, allocations: 25.12 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.9929, allocations: 322.8 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.993, allocations: 5.312 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.993, allocations: 88.73 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.9931, allocations: 35.06 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9931, allocations: 3.938 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.2e-05/0.9932, allocations: 56 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.9932, allocations: 5.562 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.9932, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.9932, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.9932, allocations: 5.875 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9933, allocations: 5.891 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.9934, allocations: 24.67 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.9934, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 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 6.281e-05/0.9934, allocations: 119.5 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.9934, allocations: 4 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.9935, allocations: 10.31 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.9935, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.9935, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9935, allocations: 3.188 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.705e-05/0.9935, allocations: 116.8 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9935, allocations: 4 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.9936, allocations: 2.75 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.9936, allocations: 0 / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.9936, allocations: 2.688 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9936, allocations: 0 / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.9936, allocations: 0 / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.9937, allocations: 91.64 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.9937, allocations: 14.42 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.9937, allocations: 0 / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.9938, allocations: 11.88 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.9939, allocations: 6.609 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.9939, allocations: 10.75 kB / 1.158 GB, free: 29.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.9939, allocations: 88.25 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9939, allocations: 0 / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000192/0.9941, allocations: 12.31 kB / 1.158 GB, free: 29.8 MB / 1.076 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.163e-05/0.9942, allocations: 97.88 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.9943, allocations: 32.55 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9943, allocations: 0 / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.9943, allocations: 11.72 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.9945, allocations: 18.77 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.9948, allocations: 125.3 kB / 1.158 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.9948, allocations: 70.34 kB / 1.158 GB, free: 29.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.9949, allocations: 6 kB / 1.158 GB, free: 29.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.9949, allocations: 11.09 kB / 1.158 GB, free: 29.48 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.9949, allocations: 2.656 kB / 1.158 GB, free: 29.48 MB / 1.076 GB Notification: Performance of Templates: time 0.003517/0.9984, allocations: 0.9355 MB / 1.159 GB, free: 29.36 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.815059866989031]