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.001461/0.001461, allocations: 103 kB / 16.45 MB, free: 6.5 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.001537/0.001537, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.572/1.572, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.268/3.268, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 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.002145/0.002145, allocations: 70.86 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3649, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002818/0.3678, allocations: 1.481 MB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004752/0.3682, allocations: 191.4 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.3683, allocations: 0 / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.3683, allocations: 7.922 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.3686, allocations: 23.88 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3688, allocations: 59.91 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.369, allocations: 59.77 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3691, allocations: 11.94 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.3691, allocations: 19.98 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.3692, allocations: 15.92 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3692, allocations: 4 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.3693, allocations: 4 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.3693, allocations: 23.91 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.3693, allocations: 23.86 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3695, allocations: 43.86 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3695, allocations: 8 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3695, allocations: 0 / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3695, 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.0006408/0.3701, allocations: 347.4 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3702, allocations: 11.98 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3702, allocations: 4.891 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3704, allocations: 176.3 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3704, allocations: 4.375 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3704, allocations: 384 / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3706, allocations: 80.75 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3706, allocations: 192 / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3706, allocations: 3.938 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3706, allocations: 0 / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.257e-05/0.3707, allocations: 19.98 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3711, allocations: 272.8 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3713, allocations: 46.5 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.3713, allocations: 16.86 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.3713, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3715, allocations: 59.48 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3715, allocations: 3.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002482/0.3718, allocations: 77.61 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3718, allocations: 106.8 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3719, allocations: 105.8 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.372, allocations: 25.7 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.372, allocations: 88.09 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.372, allocations: 11.94 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.3721, allocations: 21.72 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3722, allocations: 318.8 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.3723, allocations: 16 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.3723, allocations: 34.94 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.3724, allocations: 28.86 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3724, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000116/0.3725, allocations: 61.62 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3725, allocations: 4 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3725, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3725, allocations: 192 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.3726, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3726, allocations: 8.031 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3727, allocations: 15.88 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3728, allocations: 0 / 1.325 GB, free: 14.62 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.0001213/0.3729, allocations: 121.8 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.3729, allocations: 7.984 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.3729, allocations: 7.5 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3729, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3729, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3729, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.3731, allocations: 177.6 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3731, allocations: 4 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.3731, allocations: 7.938 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3731, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3731, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3731, allocations: 3.938 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3731, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.3733, allocations: 93 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3734, allocations: 89.09 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3734, allocations: 4.062 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3735, allocations: 11.98 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3736, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3736, allocations: 4 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.3736, allocations: 83.27 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 0 / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002025/0.3738, allocations: 15.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.0001518/0.374, allocations: 111.2 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.3741, allocations: 31.92 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3741, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.3742, allocations: 12 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.3743, allocations: 10.12 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.3748, allocations: 121.5 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3752, allocations: 0.6807 MB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.3752, allocations: 8 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.3753, allocations: 11.44 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3753, allocations: 3.938 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of Templates: time 0.00392/0.3792, allocations: 0.8886 MB / 1.328 GB, free: 12 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/jenkins/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: 9.231167811900377]