Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 196.8 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.42 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003352/0.3399, allocations: 1.513 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005165/0.3404, allocations: 183.4 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.3405, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.3405, allocations: 4 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.3409, allocations: 27.89 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.3411, allocations: 51.19 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3413, allocations: 59.69 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3414, allocations: 7.984 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.3415, allocations: 19.98 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3416, allocations: 15.92 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.3416, allocations: 4 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.3417, allocations: 7.938 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.3417, allocations: 19.91 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.3418, allocations: 19.92 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.733e-05/0.3419, allocations: 36.17 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3419, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3419, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3419, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 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.0006305/0.3425, allocations: 347.5 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3426, allocations: 11.97 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3426, allocations: 8.938 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3428, allocations: 176.3 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3428, allocations: 4.375 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3428, allocations: 384 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.343, allocations: 76.75 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.343, allocations: 192 / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.3431, allocations: 3.938 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3431, allocations: 3.938 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.3431, allocations: 24 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.3436, allocations: 276.8 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3437, allocations: 42.5 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.3438, allocations: 12.86 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3438, allocations: 4 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.344, allocations: 63.48 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.344, allocations: 7.938 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002501/0.3443, allocations: 73.61 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.3444, allocations: 102.8 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.3445, allocations: 105.8 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3445, allocations: 25.7 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.3445, allocations: 92.05 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.3446, allocations: 11.84 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.3446, allocations: 25.7 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3448, allocations: 318.8 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.3448, allocations: 7.984 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.3449, allocations: 34.58 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.3449, allocations: 28.84 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3449, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001149/0.3451, allocations: 62.03 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3451, allocations: 9.719 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3451, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3451, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.3452, allocations: 8.062 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3452, allocations: 3.984 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3453, allocations: 19.89 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3454, allocations: 192 / 1.057 GB, free: 4.121 MB / 0.8106 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.0001005/0.3455, allocations: 113.8 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.3455, allocations: 11.98 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3455, allocations: 11.48 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3455, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3455, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3455, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3457, allocations: 169.6 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3457, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.3457, allocations: 7.984 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3458, allocations: 3.938 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3458, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3458, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3458, allocations: 8 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3459, allocations: 92.94 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.346, allocations: 89 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3461, allocations: 4 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3462, allocations: 7.984 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3462, allocations: 7.984 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3462, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.3463, allocations: 91.28 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3463, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002054/0.3465, allocations: 8 kB / 1.057 GB, free: 3.41 MB / 0.8106 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.0001527/0.3467, allocations: 103.2 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.3468, allocations: 35.92 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3468, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.3469, allocations: 12 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.3471, allocations: 11.94 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.3475, allocations: 164.8 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3478, allocations: 0.677 MB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.3478, allocations: 11.44 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of SimCode: time 6.72e-07/0.3478, allocations: 3.938 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of Templates: time 0.002504/0.3504, allocations: 0.8261 MB / 1.059 GB, free: 1.508 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time