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.001385/0.001385, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001511/0.001511, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.23/3.23, allocations: 0.49 GB / 0.7958 GB, free: 33.56 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.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.002153/0.002153, allocations: 74.39 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002648/0.3731, allocations: 1.495 MB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0004508/0.3735, allocations: 183.4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.3736, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.3736, allocations: 3.938 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.3738, allocations: 31.84 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.374, allocations: 55.8 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.3741, allocations: 67.75 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.445e-05/0.3742, allocations: 7.938 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.3743, allocations: 23.92 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.3743, allocations: 27.91 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.3744, allocations: 7.938 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.3744, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.3744, allocations: 15.92 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.3745, allocations: 19.92 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3746, allocations: 47.86 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3746, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3746, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.3746, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 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.0005169/0.3751, allocations: 274.3 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3751, allocations: 12.03 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.3752, allocations: 4.891 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3753, allocations: 110.5 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3753, allocations: 4.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3753, allocations: 8.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3755, allocations: 76.75 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3755, allocations: 192 / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3755, allocations: 3.938 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3755, allocations: 0 / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.3756, allocations: 15.98 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.3759, allocations: 251.8 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.376, allocations: 42.56 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.3761, allocations: 16.86 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3761, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.3762, allocations: 59.48 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3762, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002193/0.3765, allocations: 73.61 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3766, allocations: 106.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.3766, allocations: 109.8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3767, allocations: 29.7 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.3767, allocations: 80.14 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.3768, allocations: 15.89 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3768, allocations: 21.72 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3769, allocations: 318.8 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.377, allocations: 16 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-05/0.377, allocations: 30.81 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.555e-05/0.3771, allocations: 32.92 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3771, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.3772, allocations: 61.69 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3772, allocations: 4 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3772, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3772, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.3773, allocations: 7.938 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3773, allocations: 8.031 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3774, allocations: 15.88 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3774, allocations: 0 / 1.331 GB, free: 13.44 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 0.0001003/0.3775, allocations: 122.3 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3775, allocations: 4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.3776, allocations: 3.688 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3776, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3776, allocations: 3.938 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3776, allocations: 4.188 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3777, allocations: 152.6 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3777, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.3777, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3777, allocations: 7.984 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3777, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3777, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3777, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3779, allocations: 89.05 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.3779, allocations: 15.95 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.378, allocations: 8.047 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3781, allocations: 8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.3781, allocations: 3.984 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3781, allocations: 8 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.3782, allocations: 83.27 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 3.938 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002011/0.3784, allocations: 16 kB / 1.331 GB, free: 12.84 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.0001101/0.3785, allocations: 99.25 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.3786, allocations: 27.98 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.3786, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.3786, allocations: 12 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.3788, allocations: 6.641 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.3791, allocations: 147.3 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3795, allocations: 0.6807 MB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.3796, allocations: 15.44 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3796, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of Templates: time 0.002502/0.3821, allocations: 0.8346 MB / 1.333 GB, free: 10.96 MB / 1.029 GB " [Timeout remaining time 300] 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 -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] "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time [Calling sys.exit(0), Time elapsed: 11.207771724002669]