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.001493/0.001493, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.373/2.373, allocations: 390.2 MB / 0.6646 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.8125 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6527/0.654, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002273/0.6563, allocations: 1.482 MB / 0.951 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.657, allocations: 461.6 kB / 0.9515 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.657, allocations: 3.938 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.6571, allocations: 0 / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.6573, allocations: 21.34 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.754e-05/0.6573, allocations: 23.23 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.6574, allocations: 45.27 kB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.6575, allocations: 8.422 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.6576, allocations: 36.94 kB / 0.9516 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.6577, allocations: 20.05 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.6577, allocations: 4.75 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.6577, allocations: 2.969 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.6578, allocations: 13.39 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.6578, allocations: 18.83 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.213e-05/0.6579, allocations: 45.03 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6579, allocations: 0 / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6579, allocations: 0 / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.6579, allocations: 0.9062 kB / 0.9517 GB, free: 7.516 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.0004569/0.6584, allocations: 360.7 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.6584, allocations: 10 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.6585, allocations: 7.438 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.6586, allocations: 187.6 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6586, allocations: 1.219 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.6586, allocations: 3.125 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.6587, allocations: 52.28 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6587, allocations: 0 / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.6587, allocations: 4 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6587, allocations: 1 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.705e-05/0.6588, allocations: 22.58 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.6591, allocations: 276.1 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.6592, allocations: 41.94 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.6592, allocations: 27.09 kB / 0.9526 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.6592, allocations: 7.984 kB / 0.9527 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.6594, allocations: 65.91 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.6594, allocations: 0 / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001877/0.6596, allocations: 82.94 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.6596, allocations: 53.19 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.6597, allocations: 111.5 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.6597, allocations: 26.7 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.6597, allocations: 93.44 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.6598, allocations: 18.81 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6598, allocations: 13.66 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.6598, allocations: 323.9 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.6599, allocations: 10.47 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.6599, allocations: 10.69 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.66, allocations: 38.53 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.66, allocations: 0 / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.905e-05/0.6601, allocations: 68.16 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.6601, allocations: 4.438 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.6601, allocations: 1.531 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.6601, allocations: 4 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.6602, allocations: 6.406 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.6602, allocations: 1.562 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.6603, allocations: 10.52 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.6603, allocations: 1.156 kB / 0.9536 GB, free: 5.609 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 4.886e-05/0.6603, allocations: 116.8 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.6603, allocations: 9.312 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.6604, allocations: 5.375 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6604, allocations: 5.375 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.6604, allocations: 0 / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6604, allocations: 0 / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.47e-05/0.6605, allocations: 175.3 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6605, allocations: 0 / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.6605, allocations: 5.125 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.6605, allocations: 0 / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6605, allocations: 5.562 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6605, allocations: 0 / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.6605, allocations: 4 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.6606, allocations: 97.55 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.6607, allocations: 83.45 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.6607, allocations: 4 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.6608, allocations: 6.453 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.6608, allocations: 2.469 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.6608, allocations: 2.219 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.6608, allocations: 97.98 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6608, allocations: 1.125 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001827/0.661, allocations: 11.97 kB / 0.9542 GB, free: 4.961 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 8.699e-05/0.6611, allocations: 99.53 kB / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.6612, allocations: 36.77 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.6612, allocations: 0 / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.6613, allocations: 27.52 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.6614, allocations: 3.375 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.6617, allocations: 133.1 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.6618, allocations: 0.6887 MB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.6618, allocations: 2.344 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.6619, allocations: 14.38 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6619, allocations: 0 / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of Templates: time 0.002298/0.6642, allocations: 0.5468 MB / 0.9557 GB, free: 3.723 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