Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 249.3 MB / 261.8 MB, free: 5.789 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.001299/0.001299, allocations: 182.1 kB / 321.3 MB, free: 14.64 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.303/1.303, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0007708/0.0007708, allocations: 86.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.368e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1939, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7297/0.9237, allocations: 132.3 MB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.924, allocations: 79.52 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007275/0.9313, allocations: 2.736 MB / 1.024 GB, free: 100 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9314, allocations: 0 / 1.024 GB, free: 100 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.9314, allocations: 0 / 1.024 GB, free: 100 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.0003537/0.9317, allocations: 337.8 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.9318, allocations: 12.03 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.9318, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.932, allocations: 171 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.932, allocations: 3.938 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.932, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.9322, allocations: 71.33 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.9322, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.9322, allocations: 3.562 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9322, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.9323, allocations: 15.48 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.9326, allocations: 262.5 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.9327, allocations: 37.75 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.9328, allocations: 23.61 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.9328, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.9329, allocations: 59.23 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.933, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001671/0.9331, allocations: 64.06 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.9332, allocations: 106.8 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.9333, allocations: 100.8 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.9334, allocations: 29.7 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.9334, allocations: 84.08 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.9334, allocations: 15.25 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.9335, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.9336, allocations: 326.5 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.9336, allocations: 7.438 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.9336, allocations: 34.27 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.9337, allocations: 11.36 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9337, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.159e-05/0.9338, allocations: 55.2 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.9338, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.9338, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.9338, allocations: 7.984 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.9339, allocations: 7.938 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9339, allocations: 4.031 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.934, allocations: 15.92 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.9341, allocations: 0 / 1.025 GB, free: 14.1 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 7.828e-05/0.9341, allocations: 112.4 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.9342, allocations: 4.047 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.9342, allocations: 11.42 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.9342, allocations: 0 / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.9342, allocations: 0 / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9342, allocations: 4 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.9343, allocations: 176.4 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9344, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.9344, allocations: 4 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.9344, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.9344, allocations: 3.438 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9344, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9344, allocations: 448 / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.9345, allocations: 99.5 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.9346, allocations: 85.09 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.9346, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.9347, allocations: 15.98 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.9348, allocations: 3.438 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.9348, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.9348, allocations: 86.95 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9349, allocations: 0 / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001832/0.935, allocations: 12 kB / 1.026 GB, free: 13.43 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.000127/0.9352, allocations: 103.2 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.9353, allocations: 34.25 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9353, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.9353, allocations: 15.11 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.9355, allocations: 7.953 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.9357, allocations: 72.3 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.9359, allocations: 0.6848 MB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.936, allocations: 4 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.936, allocations: 15.42 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.936, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.002791/0.9388, allocations: 0.8035 MB / 1.028 GB, free: 11.7 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches