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.287/2.287, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001086/0.001086, allocations: 188.4 kB / 487.4 MB, free: 5.035 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.757/1.757, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009244, allocations: 105.5 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.225e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3321, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.518, allocations: 148.8 MB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/1.518, allocations: 81.34 kB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00337/1.522, allocations: 0.7446 MB / 1.352 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.739e-06/1.522, allocations: 0.6562 kB / 1.352 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.522, allocations: 9.25 kB / 1.352 GB, free: 34.06 MB / 0.8386 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.0003425/1.522, allocations: 310.3 kB / 1.352 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/1.522, allocations: 9.156 kB / 1.352 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/1.522, allocations: 1.281 kB / 1.352 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.523, allocations: 171.5 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/1.523, allocations: 0 / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.523, allocations: 1.312 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.203e-05/1.523, allocations: 8.297 kB / 1.353 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/1.523, allocations: 32.17 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.523, allocations: 4 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/1.523, allocations: 0 / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.523, allocations: 0.75 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/1.523, allocations: 228.5 kB / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/1.523, allocations: 21.67 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/1.523, allocations: 16.69 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/1.523, allocations: 4 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.523, allocations: 34.55 kB / 1.353 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.976e-06/1.523, allocations: 3.984 kB / 1.353 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001469/1.524, allocations: 34.77 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/1.524, allocations: 51.41 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.524, allocations: 97.48 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/1.524, allocations: 25.7 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/1.524, allocations: 88.81 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/1.524, allocations: 3.906 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.524, allocations: 3.906 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.524, allocations: 317.2 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/1.524, allocations: 0 / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-06/1.524, allocations: 3.969 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.878e-05/1.524, allocations: 4.297 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.524, allocations: 1.531 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.957e-05/1.524, allocations: 34.78 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.524, allocations: 11.66 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.524, allocations: 0.75 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.524, allocations: 0 / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/1.524, allocations: 3.812 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.524, allocations: 4.734 kB / 1.354 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/1.524, allocations: 0 / 1.354 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/1.524, allocations: 0 / 1.354 GB, free: 32.5 MB / 0.8386 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 () * 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 9.209e-05/1.524, allocations: 109.5 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/1.524, allocations: 3.969 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/1.524, allocations: 11.5 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/1.524, allocations: 0 / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.524, allocations: 0.5625 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.524, allocations: 1.422 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/1.525, allocations: 133.1 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.525, allocations: 3.953 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/1.525, allocations: 4.578 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.525, allocations: 0 / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/1.525, allocations: 0 / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.525, allocations: 0.6094 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.525, allocations: 0 / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/1.525, allocations: 140.1 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/1.525, allocations: 82.23 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/1.525, allocations: 0.7031 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/1.525, allocations: 0 / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/1.525, allocations: 0.5625 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/1.525, allocations: 3.938 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.668e-05/1.525, allocations: 91.31 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.525, allocations: 0 / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002001/1.525, allocations: 3.844 kB / 1.354 GB, free: 31.9 MB / 0.8386 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 () * 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.0001243/1.525, allocations: 99.2 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.425e-05/1.525, allocations: 4.547 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.525, allocations: 0 / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/1.525, allocations: 7.344 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/1.526, allocations: 4.594 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/1.526, allocations: 62.05 kB / 1.354 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/1.526, allocations: 0.6765 MB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.014e-05/1.526, allocations: 0.75 kB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/1.526, allocations: 7.438 kB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.526, allocations: 0 / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.002057/1.528, allocations: 217.3 kB / 1.355 GB, free: 31 MB / 0.8386 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