Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001047/0.001048, allocations: 174.8 kB / 498.1 MB, free: 5.742 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.621/1.621, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001114/0.001114, allocations: 98.5 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 13.72 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.5355, allocations: 149.6 MB / 1.369 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.5359, allocations: 91.94 kB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002387/0.5383, allocations: 0.7396 MB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5384, allocations: 3.938 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.5384, allocations: 0 / 1.37 GB, free: 11.65 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.0004283/0.5388, allocations: 330.2 kB / 1.37 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5389, allocations: 8.031 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.5389, allocations: 7.906 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.5392, allocations: 163 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.5392, allocations: 4 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.5392, allocations: 4 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.5393, allocations: 37.69 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5394, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5394, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5394, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.5394, allocations: 4 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.5399, allocations: 252.9 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.418e-05/0.54, allocations: 22.58 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.54, allocations: 3.984 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5401, allocations: 30.56 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/0.5401, allocations: 4.062 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.5403, allocations: 41.64 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5403, allocations: 51.53 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.5404, allocations: 101 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5405, allocations: 25.7 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.5405, allocations: 80.14 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.5406, allocations: 15.83 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.5406, allocations: 0 / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5408, allocations: 314.8 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.5408, allocations: 7.984 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.5408, allocations: 4 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/0.5408, allocations: 4.062 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5409, allocations: 4 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.503e-05/0.5409, allocations: 41.64 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.541, allocations: 9.188 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.541, allocations: 0 / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.541, allocations: 0 / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.5411, allocations: 7.938 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.5411, allocations: 0 / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.5411, allocations: 3.984 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.5411, allocations: 32 / 1.371 GB, free: 9.891 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 0.0001048/0.5413, allocations: 117.8 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.5413, allocations: 7.906 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.5413, allocations: 3.125 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5413, allocations: 0 / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.5414, allocations: 4 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5414, allocations: 4 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.5416, allocations: 153.6 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5416, allocations: 4 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.5416, allocations: 0 / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5416, allocations: 4 kB / 1.372 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.5416, allocations: 0 / 1.372 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5417, allocations: 4 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5417, allocations: 0 / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.5418, allocations: 139.4 kB / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.5419, allocations: 77.11 kB / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.5419, allocations: 0 / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.542, allocations: 8.031 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.542, allocations: 3.984 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.542, allocations: 0 / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.5421, allocations: 83.28 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.5421, allocations: 0 / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002233/0.5423, allocations: 4 kB / 1.372 GB, free: 9.191 MB / 0.8698 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.0001549/0.5425, allocations: 99.03 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.5426, allocations: 12 kB / 1.372 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5426, allocations: 4.062 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.594e-05/0.5426, allocations: 7.938 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.5428, allocations: 7.938 kB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.5431, allocations: 110.6 kB / 1.372 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.5435, allocations: 0.677 MB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.5435, allocations: 4 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.5435, allocations: 7.5 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.5435, allocations: 4 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of Templates: time 0.001979/0.5455, allocations: 222.1 kB / 1.373 GB, free: 7.988 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches