Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001337/0.001337, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001504/0.001504, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476 MB / 0.7707 GB, free: 4.941 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002064/0.002064, allocations: 64.5 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3195, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002863/0.3223, allocations: 1.475 MB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.3228, allocations: 175.4 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.3229, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.3229, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.3231, allocations: 23.84 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3233, allocations: 61.48 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3234, allocations: 55.84 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.3235, allocations: 11.92 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.3236, allocations: 23.94 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.3236, allocations: 19.89 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.3237, allocations: 8 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.9e-05/0.3237, allocations: 4 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.3237, allocations: 11.94 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.3238, allocations: 19.92 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3239, allocations: 43.86 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3239, allocations: 0 / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3239, allocations: 7.938 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3239, allocations: 4 kB / 1.286 GB, free: 10.05 MB / 0.9825 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.0005606/0.3245, allocations: 274.3 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3245, allocations: 8.031 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3245, allocations: 8.891 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3247, allocations: 118.5 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3247, allocations: 384 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3247, allocations: 4.375 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3249, allocations: 124.2 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3249, allocations: 192 / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3249, allocations: 7.938 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3249, allocations: 7.938 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.325, allocations: 23.92 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.3253, allocations: 208.6 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3254, allocations: 34.52 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.3255, allocations: 24.88 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.3255, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.3257, allocations: 75.33 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3257, allocations: 0 / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.3259, allocations: 73.67 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.326, allocations: 106.8 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3261, allocations: 105.8 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3261, allocations: 29.7 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.3262, allocations: 85.84 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.3262, allocations: 11.91 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3262, allocations: 21.7 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3264, allocations: 318.8 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.3264, allocations: 8 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/0.3265, allocations: 85.97 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.3266, allocations: 28.89 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3266, allocations: 3.938 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.3267, allocations: 57.69 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3267, allocations: 11.94 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3267, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3267, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.3268, allocations: 7.984 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3268, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3269, allocations: 19.86 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3269, allocations: 448 / 1.288 GB, free: 7.957 MB / 0.9825 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.0001217/0.327, allocations: 121.8 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.3271, allocations: 7.953 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3271, allocations: 3.688 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3271, allocations: 0 / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3271, allocations: 4 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3271, allocations: 0 / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3272, allocations: 113.2 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3272, allocations: 3.938 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.3273, allocations: 7.984 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3273, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3273, allocations: 4.188 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3273, allocations: 4 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3273, allocations: 4 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.3274, allocations: 96.97 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.3275, allocations: 7.953 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3275, allocations: 4 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3276, allocations: 7.984 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3276, allocations: 7.984 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3276, allocations: 4 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.3277, allocations: 83.27 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3277, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001983/0.3279, allocations: 20 kB / 1.288 GB, free: 7.402 MB / 0.9825 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.0001074/0.328, allocations: 95.25 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3281, allocations: 31.92 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3281, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.3282, allocations: 12 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3283, allocations: 6.172 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.3287, allocations: 147.3 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.936e-05/0.3287, allocations: 67.34 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.3288, allocations: 11.44 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3288, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of Templates: time 0.002701/0.3315, allocations: 0.8634 MB / 1.289 GB, free: 6.129 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.911185557954013]