Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001053/0.001053, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001081/0.001081, allocations: 165 kB / 23.82 MB, free: 0.75 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.9504/0.9504, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.74/1.74, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.848e-05/4.076e-05, allocations: 10.25 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002907/0.002947, allocations: 1.532 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.003837, allocations: 480.4 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.003888, allocations: 1 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.003926, allocations: 7.922 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.004204, allocations: 33.39 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.155e-05/0.004285, allocations: 15.98 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.004394, allocations: 63.7 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004495, allocations: 9.219 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.004725, allocations: 39.84 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.004815, allocations: 23.91 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.004837, allocations: 4.688 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.004849, allocations: 4 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.004869, allocations: 8.891 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.004918, allocations: 19.92 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.005044, allocations: 32.61 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005047, allocations: 4 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.824e-06/0.005049, allocations: 5.531 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.005055, allocations: 0 / 0.7893 GB, free: 10.19 MB / 0.7448 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.000536/0.005591, allocations: 376.5 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.005635, allocations: 11.56 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.005691, allocations: 12.89 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.005808, allocations: 120.5 kB / 0.7898 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.005825, allocations: 4.375 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.00584, allocations: 8.375 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.005965, allocations: 58.94 kB / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.005977, allocations: 192 / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005988, allocations: 384 / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.006, allocations: 7.938 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.006049, allocations: 11.98 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.00648, allocations: 280.4 kB / 0.7902 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.006613, allocations: 52.7 kB / 0.7902 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.006653, allocations: 15.69 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.006663, allocations: 0 / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.006803, allocations: 69.11 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.006804, allocations: 0.9062 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.000223/0.007027, allocations: 85.56 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.007071, allocations: 56.44 kB / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.007169, allocations: 169.9 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.007184, allocations: 25.7 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.007245, allocations: 140.2 kB / 0.7908 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.007272, allocations: 15.91 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.007315, allocations: 23.38 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.007458, allocations: 0.4884 MB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.007485, allocations: 8.719 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.007509, allocations: 11.98 kB / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.007572, allocations: 32.84 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.007574, allocations: 0 / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.007692, allocations: 77.64 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.007706, allocations: 4.844 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.00771, allocations: 0 / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.007726, allocations: 5.75 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.007808, allocations: 11.98 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.007813, allocations: 3.938 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.00786, allocations: 7.938 kB / 0.7915 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.007868, allocations: 256 / 0.7915 GB, free: 7.828 MB / 0.7448 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 8.991e-05/0.007958, allocations: 169.8 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.007977, allocations: 15.88 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.008001, allocations: 9 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008002, allocations: 0 / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.008008, allocations: 5.125 kB / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.008011, allocations: 0 / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.008108, allocations: 120.6 kB / 0.7918 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.00811, allocations: 4.531 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.008133, allocations: 5.25 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.008136, allocations: 3.938 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.008145, allocations: 3.984 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008146, allocations: 0 / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008147, allocations: 1.094 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.008282, allocations: 104.4 kB / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.008296, allocations: 7.953 kB / 0.7919 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.008318, allocations: 8.859 kB / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.008354, allocations: 7.984 kB / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.008394, allocations: 8.766 kB / 0.7919 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.008402, allocations: 4 kB / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.008454, allocations: 124.2 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008454, allocations: 4 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000218/0.008672, allocations: 12 kB / 0.792 GB, free: 7.164 MB / 0.7448 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.0001131/0.008785, allocations: 100.4 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.008909, allocations: 40.52 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00891, allocations: 0 / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.008953, allocations: 27.61 kB / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.009121, allocations: 6.219 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.009824, allocations: 167.7 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.009863, allocations: 59.34 kB / 0.7924 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.009892, allocations: 6.875 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.009927, allocations: 12.5 kB / 0.7924 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.009928, allocations: 3.938 kB / 0.7924 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.00317/0.0131, allocations: 0.632 MB / 0.7931 GB, free: 6.09 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.8819537023082376]