Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001572/0.001572, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002135/0.002135, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7476, allocations: 140.3 MB / 0.9489 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002531/0.7501, allocations: 1.534 MB / 0.9504 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.7506, allocations: 184.3 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.7506, allocations: 1.375 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.7506, allocations: 3.984 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.7509, allocations: 21.42 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.751, allocations: 52.42 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.7511, allocations: 52.55 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.7512, allocations: 12.09 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.7513, allocations: 20.36 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.7514, allocations: 17.42 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.7514, allocations: 2.75 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.7514, allocations: 2.75 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.7515, allocations: 18.66 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.7515, allocations: 18.75 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.395e-05/0.7516, allocations: 50.2 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7516, allocations: 3.984 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7516, allocations: 0 / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7516, allocations: 1.375 kB / 0.9508 GB, free: 7.727 MB / 0.7169 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.0004703/0.7521, allocations: 347.9 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7522, allocations: 9.625 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.7522, allocations: 7.594 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.852e-05/0.7523, allocations: 167.1 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.7523, allocations: 5.75 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.7523, allocations: 7.125 kB / 0.9514 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.7525, allocations: 74.25 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7525, allocations: 4.172 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.7525, allocations: 5 kB / 0.9514 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7525, allocations: 1.094 kB / 0.9514 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.7526, allocations: 20.33 kB / 0.9515 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.7529, allocations: 285.9 kB / 0.9517 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.753, allocations: 43 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.753, allocations: 14.92 kB / 0.9518 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.7531, allocations: 1.375 kB / 0.9518 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.7532, allocations: 62.48 kB / 0.9519 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.7532, allocations: 0 / 0.9519 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001945/0.7534, allocations: 70.89 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7535, allocations: 112.2 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.7535, allocations: 105 kB / 0.9521 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.7535, allocations: 30.77 kB / 0.9522 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.7536, allocations: 81.7 kB / 0.9522 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.7536, allocations: 14.28 kB / 0.9522 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.7536, allocations: 23.08 kB / 0.9523 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.7537, allocations: 320.7 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.7537, allocations: 12.86 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.7538, allocations: 29.48 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/0.7538, allocations: 31.53 kB / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7538, allocations: 0 / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.069e-05/0.7539, allocations: 59.78 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7539, allocations: 8.375 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.754, allocations: 0 / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.754, allocations: 4.031 kB / 0.9527 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.754, allocations: 5.719 kB / 0.9527 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.7541, allocations: 1.469 kB / 0.9527 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.7542, allocations: 9.109 kB / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.7542, allocations: 1.375 kB / 0.9527 GB, free: 5.746 MB / 0.7169 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 5.717e-05/0.7542, allocations: 116.3 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.7543, allocations: 6.625 kB / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.7543, allocations: 12.7 kB / 0.9529 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7543, allocations: 4.438 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7543, allocations: 1.438 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7543, allocations: 0 / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.119e-05/0.7544, allocations: 170.8 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7544, allocations: 0 / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.7544, allocations: 6.734 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.7544, allocations: 0 / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.7544, allocations: 5.344 kB / 0.953 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7545, allocations: 0 / 0.953 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7545, allocations: 3.938 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.7546, allocations: 96.14 kB / 0.9531 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.7546, allocations: 91.69 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.7547, allocations: 9.344 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.7548, allocations: 4.312 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.7548, allocations: 6.641 kB / 0.9532 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.7548, allocations: 9.125 kB / 0.9533 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.7549, allocations: 81.22 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7549, allocations: 4 kB / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001962/0.7551, allocations: 14.06 kB / 0.9533 GB, free: 5.086 MB / 0.7169 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 9.675e-05/0.7552, allocations: 103.6 kB / 0.9534 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.7553, allocations: 33.7 kB / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7553, allocations: 0 / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.7553, allocations: 14.06 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.7555, allocations: 6.219 kB / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.7558, allocations: 129.8 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.7559, allocations: 0.6845 MB / 0.9543 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.7559, allocations: 5.219 kB / 0.9543 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.7559, allocations: 9.031 kB / 0.9543 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.756, allocations: 0 / 0.9543 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of Templates: time 0.002819/0.7588, allocations: 0.8426 MB / 0.9551 GB, free: 3.719 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches