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.001858/0.001858, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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: 169.2 kB / 22.76 MB, free: 1.664 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 1.541/1.541, allocations: 177.1 MB / 203.1 MB, free: 5.543 MB / 186.7 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 3.334/3.334, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 5.471e-06/5.471e-06, allocations: 5.094 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.523e-05, allocations: 5.266 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002936/0.002972, allocations: 1.519 MB / 0.8789 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.003929, allocations: 481.4 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.00397, allocations: 3.938 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.003994, allocations: 5.016 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.004221, allocations: 28.61 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.542e-05/0.004297, allocations: 21.56 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.004398, allocations: 51.8 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/0.004485, allocations: 15.97 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.004684, allocations: 31.92 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.004769, allocations: 30.36 kB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.004789, allocations: 4 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.004803, allocations: 4 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.004826, allocations: 7.984 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.004868, allocations: 19.88 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.004976, allocations: 51.84 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004978, allocations: 0 / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.02e-07/0.004978, allocations: 2.062 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.004982, allocations: 0 / 0.8797 GB, free: 4.402 MB / 0.8386 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.0006281/0.00561, allocations: 388.1 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.005657, allocations: 8.031 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.005708, allocations: 9.656 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005852, allocations: 116.6 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.00587, allocations: 5.562 kB / 0.8802 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.005883, allocations: 4.375 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.006011, allocations: 62.11 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00602, allocations: 192 / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.006032, allocations: 8.375 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006038, allocations: 3.938 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.006104, allocations: 16 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.006613, allocations: 287.7 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.006761, allocations: 55.06 kB / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.006819, allocations: 31.73 kB / 0.8806 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.006832, allocations: 0 / 0.8806 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.006986, allocations: 76.98 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.006987, allocations: 0 / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002494/0.007237, allocations: 97.62 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.007292, allocations: 59.34 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.007443, allocations: 173.9 kB / 0.881 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.007464, allocations: 25.7 kB / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.007556, allocations: 134.9 kB / 0.8812 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.00759, allocations: 19.84 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.007644, allocations: 27.38 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.007907, allocations: 0.4923 MB / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.007949, allocations: 12 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.007989, allocations: 19.98 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.008067, allocations: 36.16 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008069, allocations: 4 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001505/0.00822, allocations: 89.61 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.008233, allocations: 6.031 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.008237, allocations: 0 / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.00825, allocations: 4 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.008344, allocations: 15.98 kB / 0.8819 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.008349, allocations: 0 / 0.8819 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.008408, allocations: 11.89 kB / 0.8819 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.008416, allocations: 0 / 0.8819 GB, free: 1.934 MB / 0.8386 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 0.0001333/0.00855, allocations: 164.6 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.008568, allocations: 7.938 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.008597, allocations: 12.42 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.008602, allocations: 4 kB / 0.882 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.008606, allocations: 3.938 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008608, allocations: 0 / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.008745, allocations: 124.6 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008746, allocations: 0 / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.00878, allocations: 7.938 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.008788, allocations: 7.938 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.008795, allocations: 0 / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008797, allocations: 4 kB / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008797, allocations: 0 / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.008982, allocations: 116.4 kB / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.008998, allocations: 8 kB / 0.8823 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.009017, allocations: 4.25 kB / 0.8823 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.009068, allocations: 3.984 kB / 0.8823 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.009107, allocations: 8 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.009114, allocations: 3.984 kB / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.086e-05/0.009205, allocations: 135.2 kB / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009205, allocations: 0 / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002033/0.009409, allocations: 15.95 kB / 0.8825 GB, free: 1.242 MB / 0.8386 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.0001336/0.009542, allocations: 107.2 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.009699, allocations: 51.67 kB / 0.8826 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.0097, allocations: 0 / 0.8826 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.009758, allocations: 23.69 kB / 0.8826 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.009909, allocations: 7.984 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.01025, allocations: 146.2 kB / 0.8828 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.772e-05/0.01034, allocations: 79.19 kB / 0.8829 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.01036, allocations: 8 kB / 0.8829 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.0104, allocations: 8.5 kB / 0.8829 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.0104, allocations: 0 / 0.8829 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of Templates: time 0.00349/0.01389, allocations: 0.6186 MB / 0.8835 GB, free: 156 kB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] 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.385545160039328]