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.009185/0.009185, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001582/0.001582, allocations: 192 kB / 16.67 MB, free: 6.379 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 63.91 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3828, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00399/0.3869, allocations: 1.46 MB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006144/0.3875, allocations: 187.4 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.3876, allocations: 0 / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.3877, allocations: 7.938 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.388, allocations: 27.89 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3883, allocations: 57.34 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3885, allocations: 59.78 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3886, allocations: 4 kB / 1.209 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.3887, allocations: 27.97 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3888, allocations: 15.92 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.3889, allocations: 8 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.3889, allocations: 8 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.3889, allocations: 11.92 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.389, allocations: 27.91 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.3891, allocations: 47.81 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3891, allocations: 3.938 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3892, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3892, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 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.000676/0.3899, allocations: 347.5 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3899, allocations: 12.62 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.39, allocations: 8.844 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3901, allocations: 172.3 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3902, allocations: 384 / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3902, allocations: 4.375 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3904, allocations: 72.81 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3904, allocations: 192 / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3904, allocations: 7.875 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3904, allocations: 4 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.3905, allocations: 19.98 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.391, allocations: 272.9 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3911, allocations: 38.56 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.3912, allocations: 20.8 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.3912, allocations: 0 / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.3914, allocations: 63.48 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 3.085e-06/0.3914, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.3917, allocations: 77.52 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.3918, allocations: 110.8 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3919, allocations: 109.8 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3919, allocations: 25.7 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.392, allocations: 84.14 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.392, allocations: 15.75 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.3921, allocations: 29.7 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3922, allocations: 318.8 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.3923, allocations: 8 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.3923, allocations: 34.94 kB / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.3924, allocations: 28.86 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3924, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001464/0.3926, allocations: 61.62 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3926, allocations: 12.03 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3926, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3927, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.3927, allocations: 4 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3928, allocations: 0 / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3929, allocations: 11.98 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3929, allocations: 192 / 1.212 GB, free: 5.43 MB / 0.9669 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.0001061/0.393, allocations: 117.8 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3931, allocations: 15.97 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.3931, allocations: 7.5 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3931, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3931, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3931, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.3933, allocations: 173.5 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3933, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.3933, allocations: 4 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3933, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3934, allocations: 4 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3934, allocations: 4 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3934, allocations: 4 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3936, allocations: 92.98 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.3936, allocations: 89.03 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3937, allocations: 0 / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3938, allocations: 12.05 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3939, allocations: 8 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.3939, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.394, allocations: 91.27 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.394, allocations: 0 / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002848/0.3943, allocations: 12 kB / 1.212 GB, free: 4.711 MB / 0.9669 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.0001424/0.3944, allocations: 99.25 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.3946, allocations: 39.86 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3946, allocations: 0 / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/0.3946, allocations: 12 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3949, allocations: 9.5 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.3953, allocations: 133.2 kB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3957, allocations: 0.6807 MB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.705e-05/0.3958, allocations: 4 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.3958, allocations: 15.44 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3958, allocations: 0 / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of Templates: time 0.004544/0.4004, allocations: 0.9058 MB / 1.214 GB, free: 2.793 MB / 0.9669 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