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.001117/0.001117, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001238/0.001238, allocations: 181 kB / 23.36 MB, free: 1.133 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.438/2.438, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.773e-06/1.773e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.671e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001947/0.001964, allocations: 1.572 MB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006767/0.002641, allocations: 494.5 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.00268, allocations: 0 / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.002706, allocations: 4 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.002912, allocations: 27.78 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.93e-05/0.002981, allocations: 11.98 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.003059, allocations: 63.72 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.003123, allocations: 4 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.003269, allocations: 43.89 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.003334, allocations: 19.91 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.003348, allocations: 4 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-06/0.003356, allocations: 11.94 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.003374, allocations: 19.97 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.003399, allocations: 11.94 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.999e-05/0.003469, allocations: 35.89 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003472, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003472, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.003475, allocations: 0 / 0.8409 GB, free: 11.8 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.0003209/0.003796, allocations: 260.8 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.003826, allocations: 8.625 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.003851, allocations: 4.938 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.003947, allocations: 129.7 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.003959, allocations: 4.375 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.003968, allocations: 4.375 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.419e-05/0.004042, allocations: 62.88 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.00405, allocations: 4.172 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-06/0.004055, allocations: 384 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004061, allocations: 3.938 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.004083, allocations: 8 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.004325, allocations: 168.3 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.004389, allocations: 34.52 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.004408, allocations: 25.03 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.004413, allocations: 4 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.021e-05/0.004494, allocations: 55.39 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.004494, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001049/0.004599, allocations: 61.61 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.004634, allocations: 55.34 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.004689, allocations: 118.7 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.0047, allocations: 25.7 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.004727, allocations: 88.14 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.004749, allocations: 19.78 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.004778, allocations: 29.7 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.004854, allocations: 314.8 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.004866, allocations: 8 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.004878, allocations: 7.984 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.004913, allocations: 24.83 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004914, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.818e-05/0.004972, allocations: 53.62 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.004985, allocations: 9.969 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.004989, allocations: 0 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.005001, allocations: 0 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.005057, allocations: 15.98 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.005059, allocations: 4 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.005087, allocations: 4 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005093, allocations: 7.938 kB / 0.8424 GB, free: 10.05 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.144e-05/0.005145, allocations: 109.8 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.005154, allocations: 8 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.005169, allocations: 8.375 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.00517, allocations: 4 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.005171, allocations: 0 / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005174, allocations: 0 / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.215e-05/0.005236, allocations: 77.88 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005237, allocations: 4 kB / 0.8426 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.00525, allocations: 7.938 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.005253, allocations: 4 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.005258, allocations: 0 / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.00526, allocations: 4.234 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.005262, allocations: 7.938 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.698e-05/0.005319, allocations: 69.12 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.005328, allocations: 3.953 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.005342, allocations: 8 kB / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.005361, allocations: 3.984 kB / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.005383, allocations: 11.94 kB / 0.8428 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005387, allocations: 3.984 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.256e-05/0.005399, allocations: 9.406 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005399, allocations: 0 / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.647e-05/0.005496, allocations: 16 kB / 0.8428 GB, free: 9.648 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.686e-05/0.005563, allocations: 84.34 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.326e-05/0.005626, allocations: 33.06 kB / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.005629, allocations: 4 kB / 0.8429 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.005654, allocations: 24.78 kB / 0.8429 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.725e-05/0.005711, allocations: 4 kB / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.006152, allocations: 170.9 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.006179, allocations: 55.36 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.178e-05/0.006201, allocations: 7.75 kB / 0.8432 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.00624, allocations: 59.36 kB / 0.8432 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of SimCode: time 9.51e-07/0.006241, allocations: 0 / 0.8432 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of Templates: time 0.002179/0.00842, allocations: 0.6548 MB / 0.8439 GB, free: 8.508 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 -s gbode -gbm=radauIIA3 -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.20895697362721]