Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 188.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 98.45 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.763e-05, allocations: 0 / 0.788 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1883, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.732/0.9204, allocations: 132.3 MB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.9208, allocations: 85.56 kB / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007684/0.9285, allocations: 2.72 MB / 1.024 GB, free: 132 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9285, allocations: 0 / 1.024 GB, free: 132 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.9285, allocations: 8 kB / 1.024 GB, free: 124 kB / 0.6355 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.0004119/0.929, allocations: 333.9 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.929, allocations: 12.02 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.9291, allocations: 7.938 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.9293, allocations: 166.4 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.9293, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.9293, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.9295, allocations: 75.44 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.9295, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.9295, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9295, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.9296, allocations: 11.19 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.93, allocations: 266.7 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.469e-05/0.9301, allocations: 42.14 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.9301, allocations: 19.84 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.9302, allocations: 8.078 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.9303, allocations: 58.97 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9303, allocations: 0 / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002384/0.9306, allocations: 59.98 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.9307, allocations: 110.8 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.9307, allocations: 100.2 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.9308, allocations: 28.64 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.9308, allocations: 80.14 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.9309, allocations: 31.16 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.9309, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.931, allocations: 314.8 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.931, allocations: 11.81 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.9311, allocations: 37.5 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.9311, allocations: 10.75 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9311, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.288e-05/0.9312, allocations: 54.81 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.9312, allocations: 8 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.9313, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.9313, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.9314, allocations: 7.938 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.9314, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.9315, allocations: 16.02 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.9315, allocations: 4 kB / 1.026 GB, free: 14.12 MB / 0.6511 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 () * 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 8.015e-05/0.9316, allocations: 112.3 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.9316, allocations: 4 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.9316, allocations: 7.484 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9316, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9317, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9317, allocations: 4 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.9318, allocations: 173 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9318, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.9318, allocations: 4 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9318, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.9319, allocations: 7.984 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9319, allocations: 448 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9319, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.932, allocations: 87.45 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.9321, allocations: 89.03 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.9321, allocations: 8 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.9322, allocations: 11.98 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.9323, allocations: 7.984 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.9323, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.9323, allocations: 82.66 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9323, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001747/0.9325, allocations: 15.38 kB / 1.026 GB, free: 13.45 MB / 0.6511 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) * 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.0001755/0.9327, allocations: 104.7 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.9328, allocations: 40.61 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9328, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.632e-05/0.9329, allocations: 11.06 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.933, allocations: 13.53 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.9333, allocations: 75.92 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.9336, allocations: 0.6848 MB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.9336, allocations: 11.98 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.9336, allocations: 7.438 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of SimCode: time 6.21e-07/0.9336, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.003041/0.9367, allocations: 0.7857 MB / 1.028 GB, free: 11.72 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches