Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 443.4 MB / 0.7304 GB, free: 13.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 71.89 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4584, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002905/0.4613, allocations: 1.628 MB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.4623, allocations: 0.5581 MB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.4624, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.4624, allocations: 11.86 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.4627, allocations: 35.41 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.4628, allocations: 43.88 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.463, allocations: 111.6 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.4631, allocations: 27.84 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4632, allocations: 35.92 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.4633, allocations: 55.8 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.4634, allocations: 8 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.142e-05/0.4634, allocations: 8 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.4634, allocations: 23.86 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.4635, allocations: 43.8 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.4637, allocations: 95.59 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4637, allocations: 4 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4637, allocations: 3.938 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4637, allocations: 4 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000878/0.4646, allocations: 403.1 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4646, allocations: 8.031 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.4646, allocations: 8.891 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.4649, allocations: 188.2 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4649, allocations: 8.375 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.4649, allocations: 8.375 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.4651, allocations: 85.95 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4651, allocations: 0 / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4651, allocations: 0 / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4651, allocations: 4 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.4652, allocations: 51.91 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.4658, allocations: 336.7 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.4661, allocations: 102.7 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.4662, allocations: 40.78 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.4663, allocations: 3.984 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.4665, allocations: 95.34 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 3.537e-06/0.4665, allocations: 4 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003817/0.4669, allocations: 149.5 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.4669, allocations: 55.39 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.4672, allocations: 126.2 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.4672, allocations: 29.7 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.4674, allocations: 100.4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.4674, allocations: 31.7 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.4675, allocations: 29.7 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4677, allocations: 326.8 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.4677, allocations: 27.98 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.4678, allocations: 39.98 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4679, allocations: 52.86 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4679, allocations: 4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000196/0.4681, allocations: 117.5 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4681, allocations: 9.859 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4681, allocations: 0 / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4682, allocations: 4 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4683, allocations: 19.98 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4683, allocations: 7.938 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4684, allocations: 11.94 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4684, allocations: 0 / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,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 (13): * Single equations (assignments): 13 * 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 0.0001117/0.4685, allocations: 121.8 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.4685, allocations: 7.953 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.4689, allocations: 149.8 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4689, allocations: 4 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4689, allocations: 4 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4689, allocations: 3.938 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.4692, allocations: 217.5 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4692, allocations: 0 / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.4693, allocations: 12 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4693, allocations: 4 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4693, allocations: 4 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4693, allocations: 3.984 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4693, allocations: 3.938 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.4696, allocations: 165 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.4697, allocations: 89 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.4697, allocations: 0 / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4698, allocations: 15.98 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.4699, allocations: 7.984 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.4699, allocations: 11.94 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.47, allocations: 95.27 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.47, allocations: 0 / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002163/0.4702, allocations: 24 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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 0.0001501/0.4703, allocations: 115.2 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.4706, allocations: 71.97 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4706, allocations: 0 / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.4707, allocations: 51.86 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.4708, allocations: 8 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.4714, allocations: 218.4 kB / 1.222 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4718, allocations: 0.6963 MB / 1.223 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.912e-05/0.4718, allocations: 12.55 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.4719, allocations: 11.44 kB / 1.223 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.4719, allocations: 4 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.005019/0.4769, allocations: 1.146 MB / 1.224 GB, free: 6.543 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.810863630846143]