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.00146/0.00146, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00167/0.00167, allocations: 173 kB / 23.49 MB, free: 1.059 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.9593/0.9593, allocations: 177.1 MB / 203.8 MB, free: 5.633 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 2.168/2.168, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.254e-06/2.254e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.197e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002618/0.00265, allocations: 1.543 MB / 0.8797 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007575/0.003407, allocations: 490.6 kB / 0.8802 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.003469, allocations: 1.031 kB / 0.8802 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.003507, allocations: 3.938 kB / 0.8802 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.003826, allocations: 24.89 kB / 0.8802 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.437e-05/0.003921, allocations: 23.91 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.004026, allocations: 56.84 kB / 0.8803 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.004139, allocations: 11.94 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.004349, allocations: 39.89 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.00443, allocations: 25.03 kB / 0.8804 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.00445, allocations: 4 kB / 0.8804 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.004462, allocations: 4 kB / 0.8804 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.004483, allocations: 8.953 kB / 0.8804 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.004529, allocations: 23.92 kB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.00464, allocations: 36.39 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.004644, allocations: 0 / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/0.004646, allocations: 1.875 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.00465, allocations: 0 / 0.8804 GB, free: 4.383 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.0005346/0.005185, allocations: 388.5 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.00523, allocations: 8.031 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.005282, allocations: 6.281 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.005399, allocations: 116.5 kB / 0.8809 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.005416, allocations: 12.31 kB / 0.8809 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.005428, allocations: 5.406 kB / 0.8809 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005543, allocations: 58.94 kB / 0.881 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.005549, allocations: 192 / 0.881 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.005561, allocations: 1.031 kB / 0.881 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.005572, allocations: 7.938 kB / 0.881 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.005611, allocations: 17.52 kB / 0.881 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.006011, allocations: 267.8 kB / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.006113, allocations: 51.05 kB / 0.8813 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.006146, allocations: 22.14 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.006154, allocations: 0 / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.006278, allocations: 81 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.00628, allocations: 3.984 kB / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001964/0.006477, allocations: 69.69 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.006522, allocations: 55.41 kB / 0.8815 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.006607, allocations: 172 kB / 0.8817 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.006622, allocations: 29.7 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.006668, allocations: 134.9 kB / 0.8819 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.006695, allocations: 23.8 kB / 0.8819 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.006732, allocations: 27.36 kB / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.006857, allocations: 0.4884 MB / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.006881, allocations: 8.953 kB / 0.8824 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.0069, allocations: 8 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.006952, allocations: 37.33 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.006955, allocations: 4 kB / 0.8824 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.112e-05/0.007046, allocations: 65.62 kB / 0.8825 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.007063, allocations: 4 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007067, allocations: 1.188 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.00708, allocations: 4 kB / 0.8825 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.00716, allocations: 11.94 kB / 0.8825 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.007166, allocations: 4.547 kB / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.007201, allocations: 11.89 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.00721, allocations: 7.984 kB / 0.8826 GB, free: 2.004 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 7.835e-05/0.007288, allocations: 156.6 kB / 0.8827 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.0073, allocations: 7.938 kB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.007325, allocations: 8.438 kB / 0.8827 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007327, allocations: 3.938 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.007332, allocations: 0 / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007335, allocations: 0 / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.105e-05/0.007426, allocations: 128.6 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.007429, allocations: 7.984 kB / 0.8829 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.007449, allocations: 4 kB / 0.8829 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007452, allocations: 3.938 kB / 0.8829 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007461, allocations: 4 kB / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007463, allocations: 0 / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007464, allocations: 0 / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.007577, allocations: 112.3 kB / 0.883 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.007588, allocations: 3.953 kB / 0.883 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.007606, allocations: 3.938 kB / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.007635, allocations: 8 kB / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.007667, allocations: 3.984 kB / 0.883 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.007673, allocations: 8 kB / 0.883 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.007718, allocations: 139.2 kB / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007718, allocations: 0 / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001329/0.007851, allocations: 8 kB / 0.8831 GB, free: 1.332 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 9.983e-05/0.007951, allocations: 99.31 kB / 0.8832 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.93e-05/0.00805, allocations: 43.61 kB / 0.8833 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008051, allocations: 4 kB / 0.8833 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.008083, allocations: 23.67 kB / 0.8833 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.008201, allocations: 4 kB / 0.8833 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.008787, allocations: 170.1 kB / 0.8835 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.355e-05/0.00882, allocations: 55.36 kB / 0.8835 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.008848, allocations: 7.984 kB / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.008877, allocations: 8.5 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of SimCode: time 8.92e-07/0.008878, allocations: 0 / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of Templates: time 0.002249/0.01113, allocations: 0.6157 MB / 0.8841 GB, free: 268 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.371312788920477]