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.001601/0.001601, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.002066/0.002066, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.156/1.156, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.964/1.964, allocations: 377.9 MB / 0.624 GB, free: 8.305 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.613e-06/1.613e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.549e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002297/0.002322, allocations: 1.702 MB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.003189, allocations: 0.5967 MB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.003246, allocations: 0 / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.003277, allocations: 8.578 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.003529, allocations: 44.94 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.00366, allocations: 44.53 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003775, allocations: 129.6 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003877, allocations: 20.16 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.004052, allocations: 79.8 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004156, allocations: 43.88 kB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.004177, allocations: 8 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.004246, allocations: 25.45 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.00427, allocations: 23.91 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.004465, allocations: 35.91 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004602, allocations: 87.69 kB / 0.7628 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004605, allocations: 1.25 kB / 0.7628 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004606, allocations: 4 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.00461, allocations: 0 / 0.7628 GB, free: 3.742 MB / 0.7136 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.0004468/0.005057, allocations: 310.5 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005094, allocations: 8.031 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.005232, allocations: 25.56 kB / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.005328, allocations: 123.4 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.005343, allocations: 8.375 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.005353, allocations: 4.375 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.005464, allocations: 86.89 kB / 0.7634 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005472, allocations: 192 / 0.7634 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005482, allocations: 6.75 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.005489, allocations: 3.938 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.005531, allocations: 29.17 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.005875, allocations: 216.1 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.006049, allocations: 89.16 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.006082, allocations: 28.84 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.006096, allocations: 0 / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.006228, allocations: 98.77 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.00623, allocations: 0 / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001576/0.006387, allocations: 89.59 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.006428, allocations: 59.39 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.006495, allocations: 128 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.006508, allocations: 25.7 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.006542, allocations: 96.08 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.006577, allocations: 39.69 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.00662, allocations: 34.61 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.006702, allocations: 322.8 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.006728, allocations: 17.08 kB / 0.7646 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.006754, allocations: 20.83 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.006814, allocations: 50.55 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006816, allocations: 0.75 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.863e-05/0.006915, allocations: 90.28 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.006937, allocations: 9.719 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.006944, allocations: 4.5 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.006959, allocations: 3.984 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.007051, allocations: 28.48 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.007054, allocations: 3.438 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.007102, allocations: 15.89 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.007111, allocations: 7.922 kB / 0.7648 GB, free: 1.566 MB / 0.7136 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 7.376e-05/0.007184, allocations: 117.8 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.0072, allocations: 15.94 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.007331, allocations: 93.98 kB / 0.7651 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.007335, allocations: 7.984 kB / 0.7651 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007336, allocations: 2.531 kB / 0.7651 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007339, allocations: 0 / 0.7651 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.007583, allocations: 281 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007585, allocations: 0 / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.007635, allocations: 20 kB / 0.7654 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.007637, allocations: 0 / 0.7654 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007644, allocations: 3.984 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.007646, allocations: 0.7812 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007647, allocations: 0 / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.007766, allocations: 204.5 kB / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.007778, allocations: 7.953 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.007798, allocations: 7.984 kB / 0.7656 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.007855, allocations: 4.781 kB / 0.7656 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.007893, allocations: 15.97 kB / 0.7656 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.0079, allocations: 5.219 kB / 0.7656 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.007922, allocations: 20.84 kB / 0.7656 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007922, allocations: 0 / 0.7656 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001505/0.008073, allocations: 25.62 kB / 0.7656 GB, free: 0.6992 MB / 0.7136 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.0001166/0.008189, allocations: 92.3 kB / 0.7657 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.008301, allocations: 69.97 kB / 0.7658 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.008304, allocations: 0.6562 kB / 0.7658 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.008351, allocations: 47.77 kB / 0.7658 GB, free: 496 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.008479, allocations: 16.7 kB / 0.7659 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.009082, allocations: 222.8 kB / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.009121, allocations: 71.34 kB / 0.7661 GB, free: 136 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.741e-05/0.009168, allocations: 10.66 kB / 0.7661 GB, free: 124 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.009231, allocations: 72.86 kB / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.009232, allocations: 3.938 kB / 0.7662 GB, free: 48 kB / 0.7136 GB Notification: Performance of Templates: time 0.003195/0.01243, allocations: 1.3 MB / 0.7675 GB, free: 14.81 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 -s gbode -gbm=radauIIA3 -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.339318189304322]