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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.558/2.558, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 186.5 kB / 0.4902 GB, free: 2.277 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009058/0.0009056, allocations: 104.2 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 13.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.4646, allocations: 150.7 MB / 1.376 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4648, allocations: 83.95 kB / 1.377 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007438/0.4723, allocations: 2.745 MB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4723, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4723, allocations: 4 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004096/0.4728, allocations: 347.3 kB / 1.38 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4728, allocations: 12.56 kB / 1.38 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.4728, allocations: 3.906 kB / 1.38 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.473, allocations: 171 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.473, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.473, allocations: 4 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4732, allocations: 80.17 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4732, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4732, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4732, allocations: 4 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.4733, allocations: 15.98 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.4736, allocations: 260.9 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.4737, allocations: 42.45 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.4738, allocations: 96 / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.4739, allocations: 71.38 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4739, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001929/0.4741, allocations: 69.59 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.4742, allocations: 102.8 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.4743, allocations: 108.9 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4743, allocations: 29.7 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.4744, allocations: 84.14 kB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.4744, allocations: 11.83 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.4744, allocations: 8 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.4745, allocations: 318.8 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.4745, allocations: 8 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.4746, allocations: 30.56 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.4746, allocations: 12 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4746, allocations: 0 / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.4747, allocations: 61.59 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4748, allocations: 8 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4748, allocations: 4.031 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.4748, allocations: 3.938 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.4749, allocations: 4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4749, allocations: 3.938 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.475, allocations: 11.98 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.475, allocations: 7.953 kB / 1.381 GB, free: 13.84 MB / 0.8855 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/0.4751, allocations: 109.8 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.4751, allocations: 11.98 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.4751, allocations: 3.5 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.4751, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4751, allocations: 4 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4752, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.4753, allocations: 165.6 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.4753, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.4753, allocations: 3.984 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4753, allocations: 0 / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.4754, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4754, allocations: 448 / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4754, allocations: 4 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.4755, allocations: 97.09 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.4756, allocations: 89.09 kB / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4756, allocations: 4 kB / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4757, allocations: 11.98 kB / 1.381 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.4758, allocations: 11.92 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.4758, allocations: 4 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.4758, allocations: 83.28 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4758, allocations: 0 / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001875/0.476, allocations: 16 kB / 1.382 GB, free: 13.12 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.4761, allocations: 108 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.4763, allocations: 31.92 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4763, allocations: 0 / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.4763, allocations: 16 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.4764, allocations: 7.953 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.4767, allocations: 128.6 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.477, allocations: 0.6848 MB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.477, allocations: 4 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.4771, allocations: 11.44 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.4771, allocations: 0 / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.002658/0.4797, allocations: 0.7794 MB / 1.383 GB, free: 11.33 MB / 0.8855 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","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches