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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001643/0.001643, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001394, allocations: 69.95 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.335, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003184/0.3383, allocations: 1.525 MB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004178/0.3387, allocations: 198.5 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.3388, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.3389, allocations: 4 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.3391, allocations: 23.91 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.3393, allocations: 51.92 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.3394, allocations: 55.7 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.3395, allocations: 7.984 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.3395, allocations: 23.92 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.3396, allocations: 23.91 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3396, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.3397, allocations: 4 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.3397, allocations: 15.92 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.3397, allocations: 11.94 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.3399, allocations: 56.08 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3399, allocations: 7.984 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3399, allocations: 0 / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3399, allocations: 0 / 1.054 GB, free: 6.848 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.0005751/0.3405, allocations: 343.5 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3405, allocations: 8.031 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.3406, allocations: 4.938 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3407, allocations: 172.3 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3407, allocations: 384 / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3408, allocations: 12.38 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3409, allocations: 72.75 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3409, allocations: 192 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.341, allocations: 3.938 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.341, allocations: 4 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.341, allocations: 15.98 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.3414, allocations: 276.8 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.3415, allocations: 42.5 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.3416, allocations: 16.86 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3416, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3418, allocations: 59.48 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 4.268e-06/0.3418, allocations: 4 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002205/0.342, allocations: 73.61 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.3421, allocations: 114.8 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3422, allocations: 105.8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3422, allocations: 29.7 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3423, allocations: 84.05 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3423, allocations: 19.83 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.3424, allocations: 21.7 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3425, allocations: 318.8 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.3425, allocations: 15.98 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.116e-05/0.3426, allocations: 26.83 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.204e-05/0.3427, allocations: 32.97 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3427, allocations: 3.938 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001086/0.3428, allocations: 61.69 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3428, allocations: 4 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3428, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3429, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.3429, allocations: 12.03 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.343, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3431, allocations: 13.02 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3431, allocations: 0 / 1.056 GB, free: 4.656 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 9.151e-05/0.3432, allocations: 117.8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.3432, allocations: 7.984 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.3433, allocations: 11.48 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3433, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3433, allocations: 4 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3433, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3434, allocations: 169.5 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3434, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.3435, allocations: 3.984 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3435, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3435, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3435, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3435, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3437, allocations: 93.05 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.3437, allocations: 85.02 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3437, allocations: 8.047 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3439, allocations: 11.94 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3439, allocations: 3.984 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3439, allocations: 8 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.344, allocations: 79.28 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.344, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002063/0.3442, allocations: 19.98 kB / 1.057 GB, free: 3.938 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.0001155/0.3443, allocations: 107.2 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3445, allocations: 31.92 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3445, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.3445, allocations: 16 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.3447, allocations: 3.938 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.345, allocations: 143.1 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3453, allocations: 0.6809 MB / 1.057 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.3453, allocations: 4 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.3454, allocations: 7.438 kB / 1.057 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3454, allocations: 4 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of Templates: time 0.003036/0.3484, allocations: 0.8398 MB / 1.058 GB, free: 2.082 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches