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.53/1.53, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 180.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008802/0.0008802, allocations: 98.3 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 11.88 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2492, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.4339, allocations: 132.3 MB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4342, allocations: 79.95 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008551/0.4428, allocations: 2.736 MB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.345e-06/0.4428, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.4429, allocations: 4 kB / 1.032 GB, free: 8.562 MB / 0.6823 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.0004579/0.4433, allocations: 347.2 kB / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.4434, allocations: 15.97 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.4434, allocations: 3.984 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.4436, allocations: 170.9 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4437, allocations: 0 / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.4437, allocations: 8 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.4439, allocations: 66.03 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4439, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.444, allocations: 8 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.444, allocations: 0 / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.444, allocations: 19.92 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.4446, allocations: 264.9 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4448, allocations: 34.58 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.4448, allocations: 0 / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.445, allocations: 67.42 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.4451, allocations: 0 / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000272/0.4453, allocations: 69.67 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.4454, allocations: 106.8 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.4455, allocations: 101 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.4456, allocations: 25.7 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.4456, allocations: 88.14 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.4457, allocations: 11.75 kB / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.4457, allocations: 0 / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4458, allocations: 322.8 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.4458, allocations: 8 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.4459, allocations: 42.5 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.4459, allocations: 12 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4459, allocations: 0 / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.446, allocations: 53.69 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.446, allocations: 4 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4461, allocations: 4 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4461, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.4462, allocations: 7.938 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4462, allocations: 0 / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4463, allocations: 23.95 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4463, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 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 8.851e-05/0.4464, allocations: 116.2 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.4464, allocations: 7.906 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.4464, allocations: 11.48 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4464, allocations: 0 / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4465, allocations: 0 / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4465, allocations: 4 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4466, allocations: 177.5 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4466, allocations: 0 / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.4467, allocations: 4.438 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4467, allocations: 192 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.4467, allocations: 3.984 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4467, allocations: 8 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4467, allocations: 0 / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4468, allocations: 93 kB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.4469, allocations: 93 kB / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4469, allocations: 0 / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.447, allocations: 15.98 kB / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4471, allocations: 7.984 kB / 1.034 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4471, allocations: 0 / 1.034 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.4472, allocations: 83.28 kB / 1.034 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.4472, allocations: 0 / 1.034 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001947/0.4474, allocations: 12 kB / 1.034 GB, free: 5.75 MB / 0.6823 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.0001249/0.4475, allocations: 107.2 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.4476, allocations: 24 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4476, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.4477, allocations: 23.92 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.4478, allocations: 9.984 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.4481, allocations: 124.6 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.4484, allocations: 0.6887 MB / 1.035 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.209e-05/0.4485, allocations: 4 kB / 1.035 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.4485, allocations: 11.44 kB / 1.035 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4485, allocations: 0 / 1.035 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of Templates: time 0.002807/0.4513, allocations: 0.7831 MB / 1.036 GB, free: 3.965 MB / 0.6823 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