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.001488/0.001488, allocations: 114.6 kB / 16.42 MB, free: 6.469 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.001624/0.001624, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.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.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7319, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002282/0.7342, allocations: 1.479 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006979/0.7349, allocations: 477.7 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.735, allocations: 0 / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.735, allocations: 6.016 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.7352, allocations: 24.62 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.176e-05/0.7353, allocations: 23.81 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.7354, allocations: 50.62 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.7355, allocations: 9.141 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.7356, allocations: 25.09 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.7357, allocations: 24.95 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.7357, allocations: 4.094 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.7357, allocations: 3.219 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.7358, allocations: 15.98 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.7358, allocations: 21.48 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.7359, allocations: 40.58 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7359, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7359, allocations: 1.25 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.736, allocations: 0 / 1.091 GB, free: 4.023 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.0004848/0.7364, allocations: 348.1 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.7365, allocations: 10.02 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.7365, allocations: 7.531 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.7366, allocations: 178.1 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.7367, allocations: 9.469 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.7367, allocations: 2.531 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.7368, allocations: 54.19 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.7368, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.7368, allocations: 8.781 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.7368, allocations: 1.031 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.7369, allocations: 17.92 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.7372, allocations: 275.5 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.7373, allocations: 46.62 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.7374, allocations: 20.22 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.7374, allocations: 4 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.7375, allocations: 60.27 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.7375, allocations: 0.9688 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002/0.7377, allocations: 80.28 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.7378, allocations: 57.3 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.7379, allocations: 112 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.7379, allocations: 26.2 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.7379, allocations: 87.05 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.7379, allocations: 15.88 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.738, allocations: 19.3 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.738, allocations: 321.4 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.7381, allocations: 12.09 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.7381, allocations: 16 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.7382, allocations: 31.61 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7382, allocations: 0.625 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001044/0.7383, allocations: 70.48 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7383, allocations: 5.406 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7383, allocations: 0.9375 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7383, allocations: 1.781 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.7384, allocations: 7.875 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7384, allocations: 448 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.7385, allocations: 11.34 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.7385, allocations: 2.781 kB / 1.093 GB, free: 2.219 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 5.545e-05/0.7386, allocations: 114.7 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.7386, allocations: 10.47 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.7386, allocations: 5.547 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7386, allocations: 9.719 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.7386, allocations: 0.6094 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.7386, allocations: 82.66 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.7387, allocations: 5.609 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.7387, allocations: 16.12 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.7388, allocations: 4.297 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001313/0.7389, allocations: 142.1 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001253/0.739, allocations: 241.4 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.982e-05/0.7391, allocations: 16.22 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.7391, allocations: 89.7 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of Backend: time 2e-07/0.7391, allocations: 4 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.7395, allocations: 100.3 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003223/0.7398, allocations: 0.5798 MB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of Templates: time 0.002866/0.7427, allocations: 0.6235 MB / 1.095 GB, free: 0.793 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/jenkins1/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