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.0009016/0.0009016, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009744/0.0009744, allocations: 177 kB / 23.36 MB, free: 1.129 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.9273/0.9273, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.405/2.405, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.593e-06/1.593e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.471e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001925/0.00194, allocations: 1.532 MB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006233/0.002563, allocations: 490.5 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.002597, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.00262, allocations: 3.938 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.002811, allocations: 23.86 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.509e-05/0.002876, allocations: 19.97 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.002947, allocations: 59.72 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.003005, allocations: 7.938 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.00316, allocations: 43.89 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.003223, allocations: 23.91 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.003237, allocations: 4 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.003247, allocations: 8 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.003265, allocations: 11.97 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.00329, allocations: 15.94 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.694e-05/0.003357, allocations: 31.89 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003359, allocations: 7.984 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00336, allocations: 0 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.003363, allocations: 0 / 0.8408 GB, free: 11.87 MB / 0.8073 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.0002999/0.003663, allocations: 248.9 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003698, allocations: 16.56 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.003722, allocations: 12.94 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.354e-05/0.003796, allocations: 125.6 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.003807, allocations: 384 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.003817, allocations: 4.375 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.726e-05/0.003884, allocations: 58.94 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.003889, allocations: 4.188 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.003896, allocations: 4.375 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.003901, allocations: 3.938 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.003923, allocations: 7.984 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.004147, allocations: 168.2 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.397e-05/0.004211, allocations: 38.56 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.004228, allocations: 12.86 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.004234, allocations: 3.984 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/0.004306, allocations: 59.45 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.004308, allocations: 4 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 9.317e-05/0.004401, allocations: 65.67 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.004435, allocations: 55.41 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.004485, allocations: 114.7 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.004496, allocations: 29.7 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.004518, allocations: 84.14 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.004537, allocations: 23.78 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.004564, allocations: 21.7 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.004631, allocations: 318.8 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.004642, allocations: 7.984 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.004652, allocations: 8 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.004686, allocations: 28.78 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.004687, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.278e-05/0.00474, allocations: 57.67 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.004751, allocations: 7.938 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.004754, allocations: 0 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.004763, allocations: 0 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.004812, allocations: 15.98 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004814, allocations: 0 / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.004839, allocations: 4 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.004844, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 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.316e-05/0.004897, allocations: 129.7 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.004906, allocations: 0 / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.004925, allocations: 12.38 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.004926, allocations: 0 / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004928, allocations: 0 / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.00493, allocations: 0 / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.755e-05/0.004988, allocations: 78.12 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.004989, allocations: 4 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.005001, allocations: 4 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.005003, allocations: 4 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-06/0.005007, allocations: 4 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.005009, allocations: 3.984 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00501, allocations: 3.938 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.731e-05/0.005068, allocations: 77.06 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.005077, allocations: 3.953 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.005089, allocations: 4 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.005108, allocations: 3.984 kB / 0.8427 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.00513, allocations: 7.938 kB / 0.8427 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005133, allocations: 3.984 kB / 0.8427 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.311e-05/0.005147, allocations: 12.86 kB / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005147, allocations: 4 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.507e-05/0.005242, allocations: 12 kB / 0.8427 GB, free: 9.715 MB / 0.8073 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.202e-05/0.005304, allocations: 76.42 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.024e-05/0.005364, allocations: 41.55 kB / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.005366, allocations: 0 / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.00539, allocations: 20.84 kB / 0.8428 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.997e-05/0.00544, allocations: 0 / 0.8428 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.005864, allocations: 176.3 kB / 0.843 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.744e-05/0.005891, allocations: 59.3 kB / 0.8431 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.005912, allocations: 7.75 kB / 0.8431 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.005948, allocations: 55.36 kB / 0.8431 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of SimCode: time 5.3e-07/0.005949, allocations: 0 / 0.8431 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of Templates: time 0.001888/0.007837, allocations: 0.6578 MB / 0.8438 GB, free: 8.578 MB / 0.8073 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: 4.995587804354727]