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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005277/0.005276, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.22 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3592, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002548/0.3618, allocations: 1.466 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000822/0.3626, allocations: 476.2 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.3627, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.434e-05/0.3627, allocations: 3.984 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.363, allocations: 32.67 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.695e-05/0.3631, allocations: 15.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3632, allocations: 55.78 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.3633, allocations: 7.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3634, allocations: 23.91 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.3635, allocations: 27.91 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3635, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.3635, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.3636, allocations: 8 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.3636, allocations: 23.86 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.745e-05/0.3637, allocations: 43.81 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3637, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3637, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3638, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005925/0.3643, allocations: 355.4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3644, allocations: 11.97 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.3644, allocations: 4.844 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3646, allocations: 172.4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3646, allocations: 8.375 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3646, allocations: 384 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.3647, allocations: 53.98 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3648, allocations: 7.922 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3648, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3648, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.282e-05/0.3649, allocations: 19.98 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3653, allocations: 284.7 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.3654, allocations: 38.58 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.3654, allocations: 20.94 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.3654, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.3656, allocations: 67.33 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3656, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002411/0.3659, allocations: 85.67 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3659, allocations: 51.41 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.366, allocations: 117.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.3661, allocations: 25.7 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.3661, allocations: 88.12 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.3661, allocations: 11.81 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3662, allocations: 21.7 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3663, allocations: 318.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.3663, allocations: 19.98 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.3664, allocations: 12 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.3664, allocations: 28.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3664, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001039/0.3666, allocations: 65.97 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3666, allocations: 9.719 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3666, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3666, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.3667, allocations: 16.05 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.3667, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.3668, allocations: 8 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3668, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.474e-05/0.3669, allocations: 113.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.3669, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.367, allocations: 11.95 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.367, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.367, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.367, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3671, allocations: 177.4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3671, allocations: 4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.3672, allocations: 7.984 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3672, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3672, allocations: 4 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3672, allocations: 4.25 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3672, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.3674, allocations: 93.06 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.3674, allocations: 88.94 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3674, allocations: 8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.3675, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3676, allocations: 11.92 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3676, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.3676, allocations: 91.27 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3676, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001921/0.3678, allocations: 8 kB / 1.093 GB, free: 12.46 MB / 0.8575 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.368, allocations: 107.2 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.3681, allocations: 39.92 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3681, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.3682, allocations: 19.94 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.3683, allocations: 9.688 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.3687, allocations: 130.5 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.369, allocations: 0.6876 MB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.3691, allocations: 8 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.3691, allocations: 11.44 kB / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3691, allocations: 0 / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.002635/0.3717, allocations: 0.5559 MB / 1.094 GB, free: 10.85 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches