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.001663/0.001663, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001959/0.001959, allocations: 162.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.935/2.935, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.014e-06/2.014e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.655e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002818/0.002854, allocations: 1.5 MB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.003792, allocations: 474.8 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.003836, allocations: 0 / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.003869, allocations: 3.938 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.00412, allocations: 19.8 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.487e-05/0.004205, allocations: 23.91 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.004317, allocations: 59.78 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.004412, allocations: 8 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.004614, allocations: 39.89 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.00469, allocations: 19.91 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.004708, allocations: 12 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.004723, allocations: 4 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.004748, allocations: 11.98 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.004792, allocations: 19.92 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.004907, allocations: 47.86 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.004912, allocations: 3.984 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004913, allocations: 0 / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004916, allocations: 0 / 1.002 GB, free: 5.055 MB / 0.9512 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.0005818/0.005498, allocations: 282.2 kB / 1.003 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.005534, allocations: 16.03 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.005566, allocations: 4.891 kB / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.005701, allocations: 117.7 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.005715, allocations: 4.312 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005733, allocations: 8.375 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.005855, allocations: 58.17 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.005865, allocations: 192 / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.005875, allocations: 384 / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.005883, allocations: 3.938 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.00595, allocations: 19.98 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.006384, allocations: 224.4 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.006518, allocations: 54.56 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.006567, allocations: 20.97 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.006577, allocations: 0 / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.006758, allocations: 79.34 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.006759, allocations: 0 / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002255/0.006984, allocations: 85.62 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.007044, allocations: 59.39 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.007154, allocations: 109.8 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.007177, allocations: 29.7 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.007246, allocations: 88.14 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.007274, allocations: 19.91 kB / 1.004 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.00732, allocations: 21.7 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.007468, allocations: 314.8 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.00751, allocations: 19.98 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.007542, allocations: 12 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.23e-05/0.007615, allocations: 40.78 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.007616, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000144/0.00776, allocations: 82.05 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.007774, allocations: 8 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.007777, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.007789, allocations: 4 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.007865, allocations: 8 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.007871, allocations: 4.062 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.007934, allocations: 7.922 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.007941, allocations: 4 kB / 1.004 GB, free: 3.105 MB / 0.9512 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 9.597e-05/0.008037, allocations: 118.3 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.008053, allocations: 7.891 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.008088, allocations: 12.44 kB / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008089, allocations: 0 / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008092, allocations: 3.938 kB / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008095, allocations: 7.938 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.00821, allocations: 117.3 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.008214, allocations: 4 kB / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.008243, allocations: 4 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.008247, allocations: 3.938 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.008254, allocations: 0 / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008256, allocations: 0 / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008256, allocations: 0 / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.008422, allocations: 109.2 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.008433, allocations: 64 / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.008454, allocations: 11.94 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.008513, allocations: 8 kB / 1.004 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.008552, allocations: 7.984 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008556, allocations: 0 / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.008619, allocations: 91.27 kB / 1.005 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.008619, allocations: 0 / 1.005 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001902/0.00881, allocations: 12 kB / 1.005 GB, free: 2.539 MB / 0.9512 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 0.0001244/0.008934, allocations: 99.25 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.009059, allocations: 35.92 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.009063, allocations: 4 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/0.009109, allocations: 23.98 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.009257, allocations: 4 kB / 1.005 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.009583, allocations: 140.7 kB / 1.005 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.009642, allocations: 67.34 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.009665, allocations: 0 / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.0097, allocations: 12.5 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.0097, allocations: 0 / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of Templates: time 0.003223/0.01292, allocations: 0.6175 MB / 1.006 GB, free: 1.5 MB / 0.9512 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: 8.197236273437738]