Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.0009947/0.0009947, allocations: 80.75 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.001267/0.001267, 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.036/1.036, 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.474/2.474, 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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.002e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00247/0.00249, allocations: 1.696 MB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008233/0.003313, allocations: 0.5764 MB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.003366, allocations: 4 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.003403, allocations: 15.86 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.003672, allocations: 43.64 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.003807, allocations: 43.88 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.003936, allocations: 119.6 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004047, allocations: 32.06 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.004218, allocations: 75.88 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.004314, allocations: 43.86 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.004336, allocations: 16 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.004397, allocations: 16 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.004423, allocations: 27.89 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.004462, allocations: 35.92 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.004587, allocations: 91.62 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.004589, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004589, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.004594, allocations: 0 / 0.8414 GB, free: 11.27 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004336/0.005027, allocations: 320.5 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.005059, allocations: 8.031 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.005186, allocations: 20.92 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.005279, allocations: 117.7 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.005295, allocations: 16.3 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.005306, allocations: 8.375 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.005413, allocations: 88.84 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.005422, allocations: 4.188 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.005431, allocations: 4.375 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.005439, allocations: 11.94 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.005479, allocations: 23.97 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.005818, allocations: 216.1 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.00597, allocations: 74.53 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.006, allocations: 32.78 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.006013, allocations: 4 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.006122, allocations: 99.16 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.006123, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001421/0.006265, allocations: 93.66 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.006299, allocations: 55.41 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.006362, allocations: 130.6 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.006375, allocations: 25.7 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.006406, allocations: 96.11 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.006436, allocations: 43.58 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.006474, allocations: 37.69 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.006548, allocations: 322.8 kB / 0.8432 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.006571, allocations: 15.98 kB / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.00659, allocations: 15.94 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.507e-05/0.006655, allocations: 59.05 kB / 0.8433 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006657, allocations: 4 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.087e-05/0.006748, allocations: 89.03 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.006759, allocations: 4 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006763, allocations: 0 / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.006777, allocations: 4 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.006858, allocations: 35.91 kB / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.006861, allocations: 0 / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.006899, allocations: 4 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.006906, allocations: 4 kB / 0.8434 GB, free: 9.066 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: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.055e-05/0.006967, allocations: 127.5 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.006979, allocations: 11.94 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.007092, allocations: 101.9 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.007095, allocations: 7.938 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.007096, allocations: 0 / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.007103, allocations: 7.969 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.007325, allocations: 258.7 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007326, allocations: 0 / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.00737, allocations: 27.92 kB / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007373, allocations: 4 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.007379, allocations: 4 kB / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007382, allocations: 4 kB / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007383, allocations: 0 / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.007492, allocations: 197.4 kB / 0.8441 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.007505, allocations: 11.91 kB / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.007523, allocations: 0 / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.007582, allocations: 11.98 kB / 0.8441 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.007615, allocations: 11.92 kB / 0.8441 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.007623, allocations: 11.98 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.007644, allocations: 20.83 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007644, allocations: 0 / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001357/0.007779, allocations: 35.94 kB / 0.8442 GB, free: 8.176 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: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 7.597e-05/0.007855, allocations: 80.42 kB / 0.8443 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.71e-05/0.007952, allocations: 64.77 kB / 0.8443 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007954, allocations: 0 / 0.8443 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.007999, allocations: 46.64 kB / 0.8444 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.008117, allocations: 21.42 kB / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.008673, allocations: 228.6 kB / 0.8446 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.798e-05/0.008711, allocations: 63.34 kB / 0.8447 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.008755, allocations: 12.97 kB / 0.8447 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.008817, allocations: 67.36 kB / 0.8448 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.008817, allocations: 0 / 0.8448 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of Templates: time 0.002719/0.01154, allocations: 1.302 MB / 0.846 GB, free: 6.254 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.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.378653479274362]