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.00144/0.00144, allocations: 100.2 kB / 16.45 MB, free: 6.504 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.001448/0.001448, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.35/3.35, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 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.002099/0.002099, allocations: 76.86 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4366, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003095/0.4397, allocations: 1.633 MB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.4409, allocations: 0.6038 MB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.441, allocations: 0 / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.441, allocations: 11.86 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.4413, allocations: 31.78 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.4415, allocations: 51.81 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.4417, allocations: 107.6 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4418, allocations: 23.86 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.442, allocations: 59.77 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.4421, allocations: 51.81 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.4421, allocations: 8 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.4422, allocations: 20 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.4422, allocations: 19.91 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.4423, allocations: 43.8 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.4425, allocations: 99.66 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4425, allocations: 0 / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4425, allocations: 0 / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.4425, allocations: 4 kB / 1.324 GB, free: 32 kB / 1.014 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.0008587/0.4434, allocations: 410.9 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4434, allocations: 15.98 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.4436, allocations: 16.88 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.4438, allocations: 184.2 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4438, allocations: 8.375 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.4438, allocations: 12.38 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.444, allocations: 88.62 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4441, allocations: 0 / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4441, allocations: 4 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4441, allocations: 0 / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.4442, allocations: 51.91 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.4448, allocations: 344.6 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.4451, allocations: 106.7 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.4452, allocations: 40.83 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4453, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.4455, allocations: 91.36 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4455, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003943/0.4459, allocations: 153.5 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.446, allocations: 51.41 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.4461, allocations: 117.8 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.4461, allocations: 37.69 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.4462, allocations: 92.33 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.4462, allocations: 31.88 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.4463, allocations: 29.7 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4465, allocations: 322.8 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.4465, allocations: 27.98 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.4466, allocations: 35.92 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.4467, allocations: 64.78 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4467, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000206/0.4469, allocations: 120.9 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4469, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.447, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.447, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4471, allocations: 19.98 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4471, allocations: 4 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.4472, allocations: 19.81 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4472, allocations: 4 kB / 1.326 GB, free: 13.34 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.0001188/0.4473, allocations: 121.8 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.4474, allocations: 7.953 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.4477, allocations: 142 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4477, allocations: 4 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4477, allocations: 4 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4477, allocations: 3.938 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.4479, allocations: 213.6 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4479, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.448, allocations: 19.92 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.448, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.448, allocations: 8 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4481, allocations: 4 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4481, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.4483, allocations: 164.9 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.4484, allocations: 92.98 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.4484, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4485, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.4486, allocations: 15.97 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.4486, allocations: 15.88 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.486e-05/0.4487, allocations: 96.14 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4487, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002229/0.4489, allocations: 24 kB / 1.327 GB, free: 12.31 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.0001445/0.4491, allocations: 103.2 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.4493, allocations: 83.91 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4493, allocations: 0 / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4494, allocations: 52.53 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.4496, allocations: 6.047 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.4501, allocations: 214.4 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.4505, allocations: 0.7 MB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.603e-05/0.4506, allocations: 8.562 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.4506, allocations: 23.36 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4506, allocations: 4 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of Templates: time 0.004116/0.4548, allocations: 1.107 MB / 1.329 GB, free: 9.965 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/jenkins/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: 9.469016042072326]