Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005803/0.005803, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001947/0.001947, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3411, allocations: 151.6 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003398/0.3445, allocations: 1.48 MB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.3454, allocations: 466.9 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.3455, allocations: 3.938 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.3456, allocations: 0 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.3459, allocations: 23.84 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.346, allocations: 19.86 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3461, allocations: 51.84 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3462, allocations: 11.98 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3464, allocations: 27.86 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.3465, allocations: 23.92 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.3465, allocations: 4 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.3465, allocations: 4 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.3466, allocations: 11.92 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.3466, allocations: 19.92 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3467, allocations: 43.81 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3467, allocations: 4 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3467, allocations: 0 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3468, allocations: 0 / 1.169 GB, free: 4.559 MB / 0.92 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.0005708/0.3473, allocations: 359.3 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3474, allocations: 8.031 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.3474, allocations: 0.9375 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3476, allocations: 188.2 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3476, allocations: 384 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3477, allocations: 4.359 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3478, allocations: 61.98 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3479, allocations: 0 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3479, allocations: 0 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3479, allocations: 4 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.348, allocations: 16 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.3483, allocations: 276.8 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3485, allocations: 42.56 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.3485, allocations: 24.94 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.3485, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.3487, allocations: 67.34 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3487, allocations: 0 / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002351/0.349, allocations: 89.61 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.349, allocations: 51.41 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.3491, allocations: 113.8 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3491, allocations: 25.7 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.3492, allocations: 88.08 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3492, allocations: 15.91 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3493, allocations: 21.7 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3494, allocations: 318.8 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.3494, allocations: 12 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.3494, allocations: 15.98 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.3495, allocations: 36.73 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3495, allocations: 0 / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.662e-05/0.3496, allocations: 61.64 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3496, allocations: 8 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3497, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3497, allocations: 4 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.3498, allocations: 12.44 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3498, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.3498, allocations: 3.984 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3498, allocations: 8 kB / 1.171 GB, free: 2.434 MB / 0.92 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 0.0001133/0.35, allocations: 117.7 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.35, allocations: 11.89 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.35, allocations: 3.969 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.35, allocations: 8 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3501, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3501, allocations: 3.984 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3502, allocations: 169.6 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3502, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.3503, allocations: 4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3503, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3503, allocations: 11.98 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3503, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3503, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3505, allocations: 93.06 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3506, allocations: 81.06 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3506, allocations: 11.98 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.3507, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3507, allocations: 7.938 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3507, allocations: 3.984 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.3508, allocations: 87.28 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3508, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002632/0.3511, allocations: 15.94 kB / 1.171 GB, free: 1.715 MB / 0.92 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.0001452/0.3512, allocations: 107.2 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3514, allocations: 35.92 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3514, allocations: 0 / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.3515, allocations: 27.92 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.3517, allocations: 4 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.3521, allocations: 135.5 kB / 1.171 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3524, allocations: 0.6846 MB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.3525, allocations: 4 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.3525, allocations: 7.438 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.3525, allocations: 3.938 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of Templates: time 0.003319/0.3558, allocations: 0.5592 MB / 1.173 GB, free: 108 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches