Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008781/0.0008781, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008321/0.0008321, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8702/0.8702, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.634/1.634, allocations: 359 MB / 0.6044 GB, free: 11.13 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.508e-06/4.508e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.947e-05, allocations: 4.812 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001781/0.001811, allocations: 1.591 MB / 0.9533 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000693/0.002504, allocations: 0.5808 MB / 0.9539 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.002548, allocations: 0 / 0.9539 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.002579, allocations: 7.875 kB / 0.9539 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.002796, allocations: 39.77 kB / 0.9539 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.00293, allocations: 47.81 kB / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.003049, allocations: 119.6 kB / 0.9541 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003154, allocations: 16.22 kB / 0.9541 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.003323, allocations: 79.8 kB / 0.9542 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.003413, allocations: 47.88 kB / 0.9542 GB, free: 488 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.003433, allocations: 8 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.003482, allocations: 19.94 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.003507, allocations: 35.89 kB / 0.9543 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.003551, allocations: 31.91 kB / 0.9543 GB, free: 392 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.003702, allocations: 119.6 kB / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003705, allocations: 0 / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.814e-06/0.003707, allocations: 3.984 kB / 0.9544 GB, free: 268 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003711, allocations: 3.938 kB / 0.9544 GB, free: 264 kB / 0.9011 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.0005452/0.004256, allocations: 338 kB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.004291, allocations: 15.97 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.004403, allocations: 20.88 kB / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.004504, allocations: 121.6 kB / 0.9549 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.004523, allocations: 8.375 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.004538, allocations: 12.36 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.004678, allocations: 92.7 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.004688, allocations: 192 / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004699, allocations: 384 / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004705, allocations: 7.938 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.004787, allocations: 47.97 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.005217, allocations: 300.3 kB / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.00544, allocations: 118.7 kB / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.005498, allocations: 48.84 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.005515, allocations: 3.984 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.005667, allocations: 99.31 kB / 0.9556 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.005668, allocations: 0 / 0.9556 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0002725/0.005941, allocations: 168.1 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.005998, allocations: 55.34 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.00609, allocations: 137.8 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.006111, allocations: 25.7 kB / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.006154, allocations: 96.09 kB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.006186, allocations: 39.62 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.006228, allocations: 37.7 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.006304, allocations: 322.8 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.006357, allocations: 35.98 kB / 0.9565 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.006402, allocations: 36.14 kB / 0.9565 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.69e-05/0.006499, allocations: 79.56 kB / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.006502, allocations: 7.938 kB / 0.9566 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001472/0.00665, allocations: 141.5 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.006661, allocations: 8 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006665, allocations: 0 / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006678, allocations: 0 / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.006763, allocations: 19.98 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.006768, allocations: 4 kB / 0.9568 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.006833, allocations: 19.88 kB / 0.9568 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.006842, allocations: 4 kB / 0.9568 GB, free: 13.67 MB / 0.9167 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.919e-05/0.006911, allocations: 129.7 kB / 0.9569 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.006922, allocations: 11.95 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.007113, allocations: 162 kB / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007115, allocations: 0 / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.007121, allocations: 4 kB / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007125, allocations: 0 / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.007447, allocations: 400.5 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007448, allocations: 4 kB / 0.9575 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.007491, allocations: 15.98 kB / 0.9575 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007493, allocations: 0 / 0.9575 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.007502, allocations: 8 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007503, allocations: 4 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.007505, allocations: 3.984 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.007668, allocations: 251.2 kB / 0.9577 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.007679, allocations: 7.953 kB / 0.9577 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.007697, allocations: 12 kB / 0.9577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.007761, allocations: 7.984 kB / 0.9577 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.007804, allocations: 15.97 kB / 0.9578 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.007812, allocations: 4 kB / 0.9578 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.007852, allocations: 103.2 kB / 0.9579 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007852, allocations: 0 / 0.9579 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001571/0.008009, allocations: 31.95 kB / 0.9579 GB, free: 12.45 MB / 0.9167 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.613e-05/0.008085, allocations: 99.25 kB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.008236, allocations: 106 kB / 0.9581 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008237, allocations: 4 kB / 0.9581 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/0.008294, allocations: 47.92 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.008448, allocations: 12.55 kB / 0.9582 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.008775, allocations: 246.9 kB / 0.9584 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.008829, allocations: 93.22 kB / 0.9585 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.008869, allocations: 16.5 kB / 0.9585 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.008869, allocations: 0 / 0.9585 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of Templates: time 0.001923/0.01079, allocations: 1.43 MB / 0.9599 GB, free: 10.35 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.355857672169805]