Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001003/0.001003, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001206/0.001206, allocations: 166 kB / 24.87 MB, free: 9.258 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.975/0.975, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8128 GB, free: 324 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.452e-05, allocations: 3.531 kB / 0.8128 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002155/0.002179, allocations: 1.656 MB / 0.8144 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.002971, allocations: 0.5826 MB / 0.815 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.00303, allocations: 0.6562 kB / 0.815 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.003066, allocations: 7.875 kB / 0.815 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.0033, allocations: 39.45 kB / 0.815 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.003434, allocations: 55.8 kB / 0.8151 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.003545, allocations: 119.6 kB / 0.8152 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003646, allocations: 16.22 kB / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.003826, allocations: 87.67 kB / 0.8153 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.003923, allocations: 39.94 kB / 0.8153 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.003945, allocations: 12.44 kB / 0.8153 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.003994, allocations: 21.36 kB / 0.8154 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.004022, allocations: 19.98 kB / 0.8154 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.004062, allocations: 35.89 kB / 0.8154 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.004193, allocations: 95.64 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004195, allocations: 0.5312 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004196, allocations: 0.875 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.0042, allocations: 0 / 0.8155 GB, free: 13.54 MB / 0.7292 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.0004888/0.004689, allocations: 433.2 kB / 0.8159 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.00472, allocations: 13.41 kB / 0.8159 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.004847, allocations: 32.77 kB / 0.816 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.004932, allocations: 124.5 kB / 0.8161 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.004946, allocations: 5.531 kB / 0.8161 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.004959, allocations: 8.375 kB / 0.8161 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005071, allocations: 86.91 kB / 0.8162 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005079, allocations: 1 kB / 0.8162 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.005088, allocations: 4.312 kB / 0.8162 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005094, allocations: 4.5 kB / 0.8162 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.005137, allocations: 28.72 kB / 0.8162 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.005505, allocations: 325.4 kB / 0.8165 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.00568, allocations: 107.1 kB / 0.8166 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.005713, allocations: 27.67 kB / 0.8166 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.005728, allocations: 13.45 kB / 0.8167 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.005843, allocations: 89 kB / 0.8167 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.005844, allocations: 7.938 kB / 0.8167 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001977/0.006042, allocations: 124.9 kB / 0.8169 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.006078, allocations: 59.34 kB / 0.8169 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.006158, allocations: 181.9 kB / 0.8171 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006172, allocations: 25.7 kB / 0.8171 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.006222, allocations: 146.8 kB / 0.8173 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.006255, allocations: 39.69 kB / 0.8173 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.006298, allocations: 43.33 kB / 0.8173 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006408, allocations: 0.4884 MB / 0.8178 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.006438, allocations: 19.97 kB / 0.8178 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.006466, allocations: 26.2 kB / 0.8179 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.416e-05/0.00653, allocations: 67.62 kB / 0.8179 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006532, allocations: 0 / 0.8179 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001185/0.00665, allocations: 109.4 kB / 0.818 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006663, allocations: 4 kB / 0.818 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.006668, allocations: 4 kB / 0.818 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.006677, allocations: 1.438 kB / 0.818 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.006768, allocations: 35.91 kB / 0.8181 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006771, allocations: 0 / 0.8181 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.006824, allocations: 7.938 kB / 0.8181 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.006833, allocations: 9.156 kB / 0.8181 GB, free: 10.7 MB / 0.7292 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 8.468e-05/0.006918, allocations: 162.1 kB / 0.8182 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.006938, allocations: 20.41 kB / 0.8183 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.007102, allocations: 126.9 kB / 0.8184 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.007106, allocations: 4 kB / 0.8184 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.00711, allocations: 8.828 kB / 0.8184 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007114, allocations: 0 / 0.8184 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.00742, allocations: 392.7 kB / 0.8188 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.007422, allocations: 0 / 0.8188 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.007471, allocations: 23.92 kB / 0.8188 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.007473, allocations: 0.7188 kB / 0.8188 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.007481, allocations: 4 kB / 0.8188 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007483, allocations: 4.875 kB / 0.8188 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007484, allocations: 0 / 0.8188 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.007681, allocations: 286.1 kB / 0.8191 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.007701, allocations: 17.41 kB / 0.8191 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.007726, allocations: 4 kB / 0.8191 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.007824, allocations: 7.984 kB / 0.8191 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.007877, allocations: 11.98 kB / 0.8191 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.00789, allocations: 12.98 kB / 0.8191 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.421e-05/0.007954, allocations: 135.2 kB / 0.8193 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.007954, allocations: 0 / 0.8193 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002712/0.008226, allocations: 33.12 kB / 0.8193 GB, free: 9.41 MB / 0.7292 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 0.0001288/0.008354, allocations: 96.31 kB / 0.8194 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.008538, allocations: 75.58 kB / 0.8195 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.008541, allocations: 5.219 kB / 0.8195 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.008623, allocations: 47.5 kB / 0.8195 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.008883, allocations: 15.94 kB / 0.8195 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.009532, allocations: 242.3 kB / 0.8198 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.009573, allocations: 64.41 kB / 0.8198 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.812e-05/0.009621, allocations: 14.28 kB / 0.8198 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.009686, allocations: 78.2 kB / 0.8199 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.009687, allocations: 1.094 kB / 0.8199 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of Templates: time 0.002926/0.01261, allocations: 1.352 MB / 0.8212 GB, free: 7.402 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.034227275289595]