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.001304/0.001304, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 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.001441/0.001441, allocations: 214.1 kB / 23.04 MB, free: 4.863 MB / 14.72 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.212/3.212, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 65.75 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3444, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002894/0.3473, allocations: 1.591 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3484, allocations: 0.5571 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.3484, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.3485, allocations: 11.86 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.3487, allocations: 35.77 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.3489, allocations: 51.83 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.349, allocations: 107.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3491, allocations: 19.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3493, allocations: 59.77 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3494, allocations: 51.83 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3494, allocations: 8 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.3495, allocations: 12 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.3495, allocations: 27.91 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.3496, allocations: 31.86 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.3497, allocations: 107.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3498, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3498, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3498, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 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.0007108/0.3505, allocations: 330 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3505, allocations: 12.03 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3507, allocations: 16.88 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3508, allocations: 130.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3508, allocations: 4.375 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3509, allocations: 12.38 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.351, allocations: 89.89 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3511, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3511, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3511, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.3512, allocations: 51.97 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.3517, allocations: 268.3 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.352, allocations: 94.72 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.352, allocations: 36.84 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3521, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.3523, allocations: 103.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 3.486e-06/0.3523, allocations: 11.92 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000332/0.3526, allocations: 145.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3527, allocations: 55.41 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3528, allocations: 121.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3528, allocations: 25.7 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.3529, allocations: 100.3 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.3529, allocations: 31.88 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.353, allocations: 29.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3531, allocations: 326.7 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.3532, allocations: 31.98 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.3532, allocations: 31.92 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.3533, allocations: 67.47 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3533, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001903/0.3535, allocations: 113.6 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3535, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3535, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3536, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3537, allocations: 23.92 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3537, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3538, allocations: 15.89 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3538, allocations: 7.984 kB / 1.332 GB, free: 11.84 MB / 1.029 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.0001022/0.3539, allocations: 122.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.3539, allocations: 7.953 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.3542, allocations: 154 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3542, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3542, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3542, allocations: 3.984 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3544, allocations: 141.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3544, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.3544, allocations: 20 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3544, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3544, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3545, allocations: 7.984 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3545, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3547, allocations: 166.2 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.3547, allocations: 19.84 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3548, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3549, allocations: 7.984 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.3549, allocations: 11.98 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3549, allocations: 11.92 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.683e-05/0.355, allocations: 103.2 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.355, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002161/0.3552, allocations: 24 kB / 1.333 GB, free: 10.98 MB / 1.029 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.0001305/0.3553, allocations: 99.25 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.3556, allocations: 85.22 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3556, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.3557, allocations: 43.92 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.3558, allocations: 13.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.3563, allocations: 238.2 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.423e-05/0.3564, allocations: 83.19 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.3564, allocations: 15.42 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3564, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of Templates: time 0.003062/0.3595, allocations: 1.317 MB / 1.335 GB, free: 9.035 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.321266344981268]