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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001249/0.001249, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 65.53 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3398, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003557/0.3434, allocations: 1.529 MB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.3443, allocations: 482.5 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.3444, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.3444, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.3447, allocations: 23.84 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.3448, allocations: 19.98 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.345, allocations: 43.86 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3451, allocations: 4 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3453, allocations: 31.84 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3454, allocations: 23.91 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.3454, allocations: 4 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.3454, allocations: 3.938 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.3454, allocations: 4 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.3455, allocations: 23.84 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3456, allocations: 40.11 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3456, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3456, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3456, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 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.000617/0.3463, allocations: 363.4 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3463, allocations: 8.031 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3464, allocations: 12.84 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3466, allocations: 168.4 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3466, allocations: 384 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3466, allocations: 16.3 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3468, allocations: 46 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3468, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3468, allocations: 11.98 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3468, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.3469, allocations: 19.98 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.3473, allocations: 272.9 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3474, allocations: 50.44 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.3474, allocations: 16.86 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3475, allocations: 4 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.3477, allocations: 71.39 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.3477, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002411/0.3479, allocations: 81.61 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.348, allocations: 51.41 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.3481, allocations: 113.8 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3481, allocations: 25.7 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.3482, allocations: 92.08 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3482, allocations: 15.8 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3482, allocations: 17.72 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3484, allocations: 318.8 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.3485, allocations: 15.98 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.3485, allocations: 12 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.3486, allocations: 24.86 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3486, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001454/0.3487, allocations: 73.91 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3488, allocations: 8 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3488, allocations: 4.062 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3488, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.3489, allocations: 11.98 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3489, allocations: 3.938 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.349, allocations: 8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.349, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 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.0001817/0.3492, allocations: 117.8 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.3492, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3492, allocations: 11.97 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3492, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3492, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3493, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3494, allocations: 173.6 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3494, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.3495, allocations: 7.938 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3495, allocations: 4 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3495, allocations: 3.938 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3495, allocations: 0 / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3495, allocations: 4 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3497, allocations: 101 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.3498, allocations: 81.11 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3498, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.3498, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3499, allocations: 11.98 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3499, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.35, allocations: 95.27 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.35, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002048/0.3502, allocations: 15.94 kB / 1.057 GB, free: 3.781 MB / 0.8106 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.0001555/0.3504, allocations: 99.19 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3505, allocations: 39.92 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3505, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.3506, allocations: 16.19 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.3508, allocations: 8 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.3512, allocations: 152.9 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3515, allocations: 0.6809 MB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.3516, allocations: 7.984 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.3516, allocations: 11.42 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of SimCode: time 8.21e-07/0.3516, allocations: 3.938 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of Templates: time 0.003537/0.3552, allocations: 0.5121 MB / 1.058 GB, free: 2.207 MB / 0.8106 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches