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.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.002046/0.002046, allocations: 110 kB / 18.93 MB, free: 2.945 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.002075/0.002075, allocations: 186 kB / 22.23 MB, free: 5.16 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.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7646 GB, free: 9.848 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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 0.002043/0.002043, allocations: 67.88 kB / 1.11 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9502/0.9522, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003229/0.9554, allocations: 1.611 MB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.9565, allocations: 0.5549 MB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.9566, allocations: 0 / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.9566, allocations: 7.875 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.9569, allocations: 43.75 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.9571, allocations: 35.91 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.9573, allocations: 115.5 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.9574, allocations: 19.8 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.9575, allocations: 39.91 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.9576, allocations: 59.69 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.9576, allocations: 8 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.597e-05/0.9577, allocations: 8 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.9577, allocations: 19.98 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.9578, allocations: 47.77 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.9579, allocations: 91.34 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.9579, allocations: 3.938 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9579, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9579, allocations: 0 / 1.277 GB, free: 1.543 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.0008018/0.9587, allocations: 335.7 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9588, allocations: 8.031 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.9588, allocations: 16.89 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.959, allocations: 122.4 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.959, allocations: 16.3 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.959, allocations: 4.375 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.9592, allocations: 85.95 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9592, allocations: 0 / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.9592, allocations: 4 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9592, allocations: 4 kB / 1.278 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.9593, allocations: 43.97 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.9599, allocations: 327.7 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.9602, allocations: 98.66 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.9603, allocations: 36.84 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.9603, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.9605, allocations: 111.2 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.9605, allocations: 0 / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003478/0.9609, allocations: 141.5 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.961, allocations: 51.41 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.9611, allocations: 130.3 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.9611, allocations: 25.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.9612, allocations: 96.3 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.9612, allocations: 35.84 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.9613, allocations: 29.7 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9614, allocations: 322.8 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.9615, allocations: 35.98 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.9615, allocations: 27.98 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.9617, allocations: 59.23 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9617, allocations: 0 / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001939/0.9619, allocations: 113.6 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9619, allocations: 6.031 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9619, allocations: 7.984 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9619, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.962, allocations: 19.98 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.962, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.9621, allocations: 15.88 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.9621, allocations: 4 kB / 1.279 GB, free: 15.07 MB / 0.9825 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.0001033/0.9622, allocations: 124 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.9622, allocations: 7.953 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.9625, allocations: 146 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9625, allocations: 4 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9625, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9626, allocations: 3.938 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.9628, allocations: 192.6 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9628, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.9628, allocations: 19.92 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.9628, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.9629, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.9629, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9629, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.9631, allocations: 170.5 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.9631, allocations: 11.95 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.9632, allocations: 4 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.9633, allocations: 15.92 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.9633, allocations: 11.98 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.9634, allocations: 11.92 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.56e-05/0.9634, allocations: 103.7 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9634, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002131/0.9636, allocations: 31.92 kB / 1.28 GB, free: 14.15 MB / 0.9825 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.000131/0.9638, allocations: 103.2 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.964, allocations: 79.97 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.964, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.9641, allocations: 42.92 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.9643, allocations: 10.44 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.9647, allocations: 218.5 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.965, allocations: 0.6924 MB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.865e-05/0.9651, allocations: 16.48 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.9652, allocations: 11.44 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.9652, allocations: 3.938 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.004191/0.9693, allocations: 1.154 MB / 1.282 GB, free: 11.77 MB / 0.9825 GB " [Timeout remaining time 299] 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: 9.142080773599446]