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.001827/0.001827, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002085/0.002085, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.603/1.603, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002814/0.002814, allocations: 67.89 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.152, allocations: 168.7 MB / 1.272 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002911/1.155, allocations: 1.625 MB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/1.156, allocations: 0.5425 MB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/1.156, allocations: 0 / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/1.156, allocations: 15.38 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/1.156, allocations: 46.05 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/1.156, allocations: 39.48 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/1.156, allocations: 109.1 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/1.156, allocations: 20.61 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/1.156, allocations: 45.36 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/1.157, allocations: 57.69 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/1.157, allocations: 7.5 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/1.157, allocations: 8.906 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/1.157, allocations: 19.56 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/1.157, allocations: 46.7 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/1.157, allocations: 92.05 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.157, allocations: 1.094 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.157, allocations: 0.7031 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.72e-06/1.157, allocations: 0 / 1.275 GB, free: 6.145 MB / 0.9981 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.0007258/1.158, allocations: 405.4 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.158, allocations: 9.062 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/1.158, allocations: 9.297 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.158, allocations: 181.1 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.158, allocations: 11.72 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/1.158, allocations: 8.844 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.158, allocations: 86.38 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.158, allocations: 4 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/1.158, allocations: 0.6562 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.158, allocations: 1.688 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/1.158, allocations: 54.22 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/1.159, allocations: 345 kB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/1.159, allocations: 105 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/1.159, allocations: 40.44 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/1.159, allocations: 0.9688 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/1.159, allocations: 98.09 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/1.159, allocations: 0.8438 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003588/1.16, allocations: 149.4 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/1.16, allocations: 52.44 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/1.16, allocations: 125.5 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/1.16, allocations: 31.67 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/1.16, allocations: 90.86 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/1.16, allocations: 38.25 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/1.16, allocations: 36.06 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/1.16, allocations: 323.5 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/1.16, allocations: 25.23 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/1.16, allocations: 32.42 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/1.16, allocations: 61.78 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.16, allocations: 3.938 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000167/1.16, allocations: 108.3 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.16, allocations: 7.156 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.16, allocations: 0 / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.161, allocations: 1.094 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.161, allocations: 22.58 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.161, allocations: 0 / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/1.161, allocations: 12.41 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/1.161, allocations: 2.969 kB / 1.277 GB, free: 4.129 MB / 0.9981 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 6.979e-05/1.161, allocations: 131 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/1.161, allocations: 7.484 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/1.161, allocations: 144.3 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.161, allocations: 1.938 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.161, allocations: 0 / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.161, allocations: 14.38 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/1.161, allocations: 212.1 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.161, allocations: 4 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/1.161, allocations: 23.69 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/1.161, allocations: 0.75 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.161, allocations: 6.859 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.161, allocations: 1.5 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.161, allocations: 0 / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/1.162, allocations: 162.7 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/1.162, allocations: 85.42 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/1.162, allocations: 1.688 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/1.162, allocations: 14.38 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/1.162, allocations: 10.89 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/1.162, allocations: 17.33 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.775e-05/1.162, allocations: 94.11 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.162, allocations: 3.938 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002088/1.162, allocations: 27.53 kB / 1.278 GB, free: 3.359 MB / 0.9981 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.0001169/1.162, allocations: 107.9 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002106/1.162, allocations: 81.17 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.162, allocations: 0 / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/1.162, allocations: 46.41 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/1.163, allocations: 7.281 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/1.163, allocations: 225.9 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/1.163, allocations: 0.6969 MB / 1.279 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.572e-05/1.163, allocations: 11.67 kB / 1.279 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/1.163, allocations: 15.88 kB / 1.279 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.163, allocations: 0 / 1.279 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of Templates: time 0.005035/1.168, allocations: 1.13 MB / 1.28 GB, free: 2.238 MB / 0.9981 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.505422869697213]