Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001144/0.001144, allocations: 186.8 kB / 0.4902 GB, free: 2.266 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.54/1.54, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001084/0.001084, allocations: 92.33 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 13.62 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.5329, allocations: 150.4 MB / 1.376 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5332, allocations: 87.88 kB / 1.376 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001963/0.5352, allocations: 0.747 MB / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5352, allocations: 0 / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.5352, allocations: 0 / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000336/0.5356, allocations: 324.2 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5356, allocations: 8.562 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.5357, allocations: 0 / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.5359, allocations: 175 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.5359, allocations: 3.938 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.5359, allocations: 0 / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.536, allocations: 29.7 kB / 1.377 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.536, allocations: 0 / 1.377 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.536, allocations: 3.938 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.536, allocations: 0 / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.199e-05/0.5361, allocations: 15.98 kB / 1.377 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.5364, allocations: 244.8 kB / 1.378 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.5365, allocations: 26.61 kB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.5365, allocations: 0 / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.5365, allocations: 34.5 kB / 1.378 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5365, allocations: 4 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.5367, allocations: 37.77 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.5367, allocations: 51.41 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.5368, allocations: 96.98 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5368, allocations: 29.7 kB / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.5369, allocations: 80.14 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.5369, allocations: 7.906 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.5369, allocations: 0 / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5371, allocations: 318.9 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.5371, allocations: 4 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.5371, allocations: 0 / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.939e-05/0.5371, allocations: 8 kB / 1.378 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5371, allocations: 3.938 kB / 1.378 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.824e-05/0.5372, allocations: 37.69 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5372, allocations: 4 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5372, allocations: 0 / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5372, allocations: 4 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.5373, allocations: 4.094 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5373, allocations: 0 / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.5373, allocations: 12.12 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.5374, allocations: 0 / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.32e-05/0.5374, allocations: 109.8 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.5375, allocations: 3.984 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.5375, allocations: 11.11 kB / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5375, allocations: 0 / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5375, allocations: 7.938 kB / 1.379 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5375, allocations: 4 kB / 1.379 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.5377, allocations: 157.6 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5377, allocations: 0 / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.5377, allocations: 4 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5377, allocations: 3.938 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.5377, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5378, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5378, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.5379, allocations: 143.4 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.5379, allocations: 85.11 kB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.5379, allocations: 0 / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.878e-05/0.538, allocations: 0 / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.538, allocations: 0 / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.538, allocations: 0 / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.5381, allocations: 83.27 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5381, allocations: 0 / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002019/0.5383, allocations: 7.938 kB / 1.379 GB, free: 15.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001221/0.5384, allocations: 106.3 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.094e-05/0.5385, allocations: 11.94 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5385, allocations: 0 / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.5385, allocations: 4 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.5387, allocations: 3.953 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.539, allocations: 118.8 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5393, allocations: 0.677 MB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.5393, allocations: 3.938 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.5393, allocations: 7.438 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/0.5393, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of Templates: time 0.00186/0.5412, allocations: 217.5 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches