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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007555/0.0007555, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007548/0.0007548, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8559/0.8559, allocations: 177.1 MB / 203.5 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.668e-05, allocations: 10.16 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001592/0.001609, allocations: 1.486 MB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005593/0.002168, allocations: 471.6 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.002203, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.002229, allocations: 3.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.002427, allocations: 34.53 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.813e-05/0.002485, allocations: 15.92 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.002559, allocations: 63.77 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.002648, allocations: 4 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.002809, allocations: 43.89 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.002878, allocations: 23.91 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.002893, allocations: 4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.002902, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.002918, allocations: 11.98 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.002951, allocations: 15.92 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.55e-05/0.003036, allocations: 51.86 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003038, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003039, allocations: 4 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003043, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004025/0.003446, allocations: 278.2 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.003478, allocations: 8.75 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.003508, allocations: 8.891 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.003595, allocations: 125.7 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.003609, allocations: 4.375 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.003619, allocations: 4.375 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.003712, allocations: 50.23 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.003719, allocations: 4.188 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003729, allocations: 4.375 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.003734, allocations: 7.875 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.00378, allocations: 23.98 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.004073, allocations: 220.4 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.004162, allocations: 46.56 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.004191, allocations: 20.98 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.0042, allocations: 0 / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.004309, allocations: 67.33 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.00431, allocations: 0 / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002342/0.004544, allocations: 101.6 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.004576, allocations: 55.34 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.004631, allocations: 113.8 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.004642, allocations: 29.7 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.004677, allocations: 84.14 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.004696, allocations: 19.95 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.004725, allocations: 21.72 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.004793, allocations: 318.8 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.004815, allocations: 12 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.004837, allocations: 23.98 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.004884, allocations: 37.05 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004885, allocations: 4 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.911e-05/0.004965, allocations: 81.58 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.004975, allocations: 6.188 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004979, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.00499, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.936e-05/0.00504, allocations: 8 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.005044, allocations: 0 / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.005078, allocations: 11.92 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.005084, allocations: 4 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.318e-05/0.005138, allocations: 117.8 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.005145, allocations: 11.89 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.005162, allocations: 8.438 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005163, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.005168, allocations: 7.984 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005171, allocations: 0 / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.006e-05/0.005231, allocations: 117.3 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005231, allocations: 0 / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.005243, allocations: 7.938 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005244, allocations: 3.938 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.005252, allocations: 3.984 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.005252, allocations: 8 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005253, allocations: 0 / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.826e-05/0.005331, allocations: 101.1 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-06/0.005341, allocations: 11.94 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.005353, allocations: 3.938 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.581e-05/0.005378, allocations: 7.984 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.005404, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.005408, allocations: 4 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.005441, allocations: 95.2 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005441, allocations: 0 / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001169/0.005558, allocations: 12 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.874e-05/0.005626, allocations: 103.2 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.005715, allocations: 44.05 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005716, allocations: 0 / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.005745, allocations: 23.92 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.005845, allocations: 4 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.00607, allocations: 166.4 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.006109, allocations: 63.34 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.006133, allocations: 16.5 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.006133, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of Templates: time 0.001395/0.007528, allocations: 0.8073 MB / 1.006 GB, free: 6.918 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.288417363539338]