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.447/2.447, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001081/0.001081, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009981/0.0009984, allocations: 91.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.055e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3915, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.618, allocations: 150.3 MB / 1.366 GB, free: 3.695 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.618, allocations: 82.56 kB / 1.366 GB, free: 3.648 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002255/1.621, allocations: 0.7515 MB / 1.366 GB, free: 2.977 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/1.621, allocations: 0 / 1.366 GB, free: 2.977 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.621, allocations: 0 / 1.366 GB, free: 2.977 MB / 0.823 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.0003125/1.621, allocations: 309.8 kB / 1.367 GB, free: 2.633 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/1.621, allocations: 12.03 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/1.621, allocations: 0 / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/1.621, allocations: 171 kB / 1.367 GB, free: 2.414 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/1.621, allocations: 4 kB / 1.367 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/1.621, allocations: 0 / 1.367 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/1.621, allocations: 33.2 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.621, allocations: 0 / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.622, allocations: 3.984 kB / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.622, allocations: 0 / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/1.622, allocations: 15.42 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/1.622, allocations: 244.4 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/1.622, allocations: 22.58 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/1.622, allocations: 16.45 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/1.622, allocations: 0 / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.622, allocations: 38.44 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/1.622, allocations: 4 kB / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/1.622, allocations: 40.98 kB / 1.367 GB, free: 1.938 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.622, allocations: 51.41 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/1.622, allocations: 99.39 kB / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/1.622, allocations: 27.67 kB / 1.367 GB, free: 1.742 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/1.623, allocations: 87.19 kB / 1.367 GB, free: 1.656 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/1.623, allocations: 3.906 kB / 1.367 GB, free: 1.652 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/1.623, allocations: 0 / 1.367 GB, free: 1.652 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.623, allocations: 314.8 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/1.623, allocations: 7.469 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/1.623, allocations: 4 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.425e-05/1.623, allocations: 0 / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.623, allocations: 0 / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.77e-05/1.623, allocations: 44.88 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.623, allocations: 9.25 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.623, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.623, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/1.623, allocations: 4 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/1.623, allocations: 4.875 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/1.623, allocations: 3.688 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/1.623, allocations: 3.953 kB / 1.368 GB, free: 1.262 MB / 0.823 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 8.402e-05/1.623, allocations: 101 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/1.623, allocations: 4.875 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/1.623, allocations: 6.188 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/1.623, allocations: 0 / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.623, allocations: 0 / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/1.623, allocations: 0 / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/1.623, allocations: 160.6 kB / 1.368 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.623, allocations: 3.984 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/1.623, allocations: 4 kB / 1.368 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.623, allocations: 3.938 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/1.623, allocations: 0 / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.623, allocations: 3.938 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/1.623, allocations: 0 / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/1.624, allocations: 134.4 kB / 1.368 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/1.624, allocations: 89.03 kB / 1.368 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/1.624, allocations: 3.562 kB / 1.368 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/1.624, allocations: 0 / 1.368 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/1.624, allocations: 4 kB / 1.368 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/1.624, allocations: 0 / 1.368 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.537e-05/1.624, allocations: 79.28 kB / 1.368 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.624, allocations: 3.938 kB / 1.368 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001906/1.624, allocations: 0 / 1.368 GB, free: 0.5977 MB / 0.823 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.0001356/1.624, allocations: 106.6 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/1.624, allocations: 11.94 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.624, allocations: 0 / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/1.624, allocations: 7.438 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/1.624, allocations: 9.141 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/1.625, allocations: 56.5 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.625, allocations: 0.677 MB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.602e-05/1.625, allocations: 0 / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/1.625, allocations: 15.56 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.625, allocations: 0 / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.001977/1.627, allocations: 226.9 kB / 1.37 GB, free: 15.46 MB / 0.8386 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