Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00103/0.00103, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007572/0.007573, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 12 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6779, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001983/0.68, allocations: 1.184 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005225/0.6805, allocations: 183.5 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.6806, allocations: 4 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.6806, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.6809, allocations: 19.92 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.6811, allocations: 47.92 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.6813, allocations: 51.84 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.6814, allocations: 7.938 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.6815, allocations: 23.92 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.6816, allocations: 19.91 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.6816, allocations: 8 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.6816, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.6817, allocations: 11.92 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.6817, allocations: 45.62 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.6819, allocations: 41.83 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6819, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6819, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6819, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 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.0005772/0.6825, allocations: 347.4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6825, allocations: 8.031 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.6826, allocations: 8.844 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.6827, allocations: 172.4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6828, allocations: 4.375 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.6828, allocations: 384 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6829, allocations: 76.75 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6829, allocations: 192 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.683, allocations: 7.938 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.683, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.683, allocations: 20 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.6835, allocations: 280.7 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.6836, allocations: 46.48 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.6836, allocations: 20.86 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.6837, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.6838, allocations: 67.42 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.6838, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002754/0.6841, allocations: 73.61 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.6842, allocations: 102.8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.6843, allocations: 105.8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.6843, allocations: 25.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.6844, allocations: 92.14 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.6844, allocations: 11.75 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.6845, allocations: 13.72 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6846, allocations: 322.8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.6846, allocations: 8 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.6847, allocations: 34.56 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.6848, allocations: 24.86 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6848, allocations: 4.031 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/0.6849, allocations: 61.62 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6849, allocations: 8 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6849, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6849, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.685, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.685, allocations: 4.422 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.6852, allocations: 8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.6852, allocations: 4 kB / 1.027 GB, free: 12 MB / 0.7794 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.0001074/0.6853, allocations: 126.3 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.6853, allocations: 7.906 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.6854, allocations: 3.5 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.6854, allocations: 4 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6854, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.6854, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.6856, allocations: 173.6 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.6856, allocations: 3.938 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.6856, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.6856, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.6856, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6856, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6856, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.6858, allocations: 93.05 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.6859, allocations: 89.03 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.6859, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.686, allocations: 15.98 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.6861, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.6861, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.6862, allocations: 87.27 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.404e-06/0.6862, allocations: 3.938 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002063/0.6864, allocations: 15.84 kB / 1.027 GB, free: 11.27 MB / 0.7794 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.0001659/0.6866, allocations: 113.3 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.6867, allocations: 27.98 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6867, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.6868, allocations: 15.98 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.687, allocations: 11.92 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.6874, allocations: 136.6 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.6878, allocations: 0.677 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.6879, allocations: 12 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.6879, allocations: 7.438 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6879, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.003847/0.6917, allocations: 0.8294 MB / 1.029 GB, free: 9.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches