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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001798/0.001798, allocations: 189.8 kB / 16.25 MB, free: 6.645 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.453 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.448/2.448, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.7802, allocations: 140.4 MB / 0.9491 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002624/0.7829, allocations: 1.548 MB / 0.9506 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.7837, allocations: 462.1 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.7838, allocations: 1.375 kB / 0.9511 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.7838, allocations: 0 / 0.9511 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.7842, allocations: 25.41 kB / 0.9511 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.7843, allocations: 14.69 kB / 0.9511 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.7844, allocations: 50.69 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.7845, allocations: 7.328 kB / 0.9511 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.7846, allocations: 21.48 kB / 0.9512 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.7847, allocations: 27.17 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.7847, allocations: 3.281 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.7848, allocations: 4.094 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.7848, allocations: 14.11 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.7849, allocations: 26.45 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.785, allocations: 40.88 kB / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.785, allocations: 0 / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.555e-06/0.785, allocations: 1.344 kB / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.785, allocations: 0 / 0.9513 GB, free: 7.559 MB / 0.7169 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.0005631/0.7856, allocations: 356.4 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7856, allocations: 10.09 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.7857, allocations: 2.25 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.7858, allocations: 181.3 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.7858, allocations: 1.719 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.7858, allocations: 5.781 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.786, allocations: 52.59 kB / 0.9519 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.786, allocations: 0 / 0.9519 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.786, allocations: 11.98 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.786, allocations: 5 kB / 0.9519 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.7861, allocations: 13.72 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.7864, allocations: 277 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.7865, allocations: 46.53 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.7866, allocations: 22.03 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.7866, allocations: 1.312 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.7868, allocations: 63.33 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.7868, allocations: 0 / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002121/0.787, allocations: 84.06 kB / 0.9524 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.787, allocations: 59.33 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.7871, allocations: 113.6 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.7871, allocations: 25.7 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.7872, allocations: 89.88 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.7872, allocations: 14.47 kB / 0.9526 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.7872, allocations: 17.94 kB / 0.9527 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.7873, allocations: 324 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.7873, allocations: 13.94 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.7873, allocations: 15.27 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.7874, allocations: 26.52 kB / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.7874, allocations: 0 / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.842e-05/0.7875, allocations: 67.62 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7875, allocations: 5.094 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.7875, allocations: 0 / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7876, allocations: 0 / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.7876, allocations: 6.938 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.7876, allocations: 1.031 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.7877, allocations: 18.73 kB / 0.9531 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.7877, allocations: 5.281 kB / 0.9531 GB, free: 5.66 MB / 0.7169 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 5.527e-05/0.7878, allocations: 112.4 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.7878, allocations: 2.531 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.7878, allocations: 9.219 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7878, allocations: 9.203 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7879, allocations: 0 / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7879, allocations: 0 / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.788, allocations: 175.7 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.788, allocations: 4 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.788, allocations: 3.875 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.788, allocations: 1.25 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.788, allocations: 0 / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.788, allocations: 1.281 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.788, allocations: 7.922 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.7881, allocations: 101.5 kB / 0.9535 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.7882, allocations: 78.64 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.7882, allocations: 5.188 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.7883, allocations: 6.547 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.7883, allocations: 6.188 kB / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.7883, allocations: 1.438 kB / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.7884, allocations: 91.73 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7884, allocations: 0 / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001905/0.7886, allocations: 8 kB / 0.9537 GB, free: 5.02 MB / 0.7169 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.0001232/0.7887, allocations: 99.09 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.7888, allocations: 48.42 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7888, allocations: 0 / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.7889, allocations: 18.77 kB / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.789, allocations: 5.875 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.7893, allocations: 151.9 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.7895, allocations: 0.6925 MB / 0.9547 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.7895, allocations: 2.594 kB / 0.9547 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.7895, allocations: 10.28 kB / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7895, allocations: 0 / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.002691/0.7922, allocations: 0.5328 MB / 0.9552 GB, free: 3.758 MB / 0.7169 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