Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.001716/0.001716, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.002031/0.002031, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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 2.757/2.757, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [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.002161/0.002161, allocations: 69.78 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9156/0.9177, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005049/0.9228, allocations: 4.423 MB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.177/1.1, allocations: 132.7 MB / 1.288 GB, free: 4.98 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008981/1.101, allocations: 23.16 kB / 1.288 GB, free: 4.969 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008475/1.102, allocations: 199.1 kB / 1.288 GB, free: 4.832 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/1.104, allocations: 0.5592 MB / 1.289 GB, free: 4.5 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/1.107, allocations: 0.8544 MB / 1.289 GB, free: 4.031 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002355/1.109, allocations: 1.405 MB / 1.291 GB, free: 3.297 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009413/1.11, allocations: 389.6 kB / 1.291 GB, free: 3.066 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/1.111, allocations: 0.5042 MB / 1.292 GB, free: 2.816 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/1.112, allocations: 462.1 kB / 1.292 GB, free: 2.602 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/1.113, allocations: 118.1 kB / 1.292 GB, free: 2.602 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/1.114, allocations: 495.4 kB / 1.293 GB, free: 2.484 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/1.115, allocations: 300.6 kB / 1.293 GB, free: 2.293 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006002/1.115, allocations: 467.5 kB / 1.293 GB, free: 2.02 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002578/1.118, allocations: 1.686 MB / 1.295 GB, free: 1.305 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.118, allocations: 0 / 1.295 GB, free: 1.305 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.853e-06/1.118, allocations: 0 / 1.295 GB, free: 1.305 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.574e-05/1.118, allocations: 0 / 1.295 GB, free: 1.305 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002931/1.121, allocations: 1.408 MB / 1.296 GB, free: 392 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/1.121, allocations: 9.562 kB / 1.296 GB, free: 392 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/1.122, allocations: 232.9 kB / 1.297 GB, free: 320 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/1.124, allocations: 0.7165 MB / 1.297 GB, free: 15.86 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/1.124, allocations: 61.28 kB / 1.297 GB, free: 15.83 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.124, allocations: 81.56 kB / 1.297 GB, free: 15.8 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.126, allocations: 1.165 MB / 1.299 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.126, allocations: 5.344 kB / 1.299 GB, free: 14.97 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-05/1.126, allocations: 35.97 kB / 1.299 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/1.126, allocations: 20.34 kB / 1.299 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/1.128, allocations: 1.061 MB / 1.3 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/1.132, allocations: 2.087 MB / 1.302 GB, free: 12.86 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/1.133, allocations: 0.7526 MB / 1.302 GB, free: 12.46 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/1.134, allocations: 269.1 kB / 1.303 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/1.134, allocations: 27.97 kB / 1.303 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009999/1.135, allocations: 0.5899 MB / 1.303 GB, free: 11.88 MB / 1.154 GB Notification: Performance of pre-optimization done (n=80): time 2.544e-06/1.135, allocations: 0 / 1.303 GB, free: 11.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=80): time 0.00333/1.138, allocations: 1.129 MB / 1.304 GB, free: 11.31 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.139, allocations: 189 kB / 1.305 GB, free: 11.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/1.139, allocations: 0.6066 MB / 1.305 GB, free: 10.73 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/1.139, allocations: 42.33 kB / 1.305 GB, free: 10.69 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/1.14, allocations: 410.1 kB / 1.306 GB, free: 10.33 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/1.14, allocations: 274.7 kB / 1.306 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/1.14, allocations: 163.2 kB / 1.306 GB, free: 9.992 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.141, allocations: 389.2 kB / 1.306 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/1.141, allocations: 268 kB / 1.307 GB, free: 9.492 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/1.142, allocations: 498 kB / 1.307 GB, free: 9.121 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/1.143, allocations: 0.5965 MB / 1.308 GB, free: 8.805 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.143, allocations: 5.219 kB / 1.308 GB, free: 8.801 MB / 1.154 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002303/1.145, allocations: 0.8575 MB / 1.309 GB, free: 8.355 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.145, allocations: 5 kB / 1.309 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.145, allocations: 1.25 kB / 1.309 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/1.146, allocations: 81.81 kB / 1.309 GB, free: 8.316 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/1.147, allocations: 164.1 kB / 1.309 GB, free: 8.273 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/1.149, allocations: 1.501 MB / 1.31 GB, free: 6.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/1.15, allocations: 85.86 kB / 1.31 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/1.15, allocations: 35.38 kB / 1.31 GB, free: 6.773 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006085/1.151, allocations: 270.1 kB / 1.311 GB, free: 6.562 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/1.151, allocations: 93.72 kB / 1.311 GB, free: 6.508 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/1.154, allocations: 1.055 MB / 1.312 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.154, allocations: 8.812 kB / 1.312 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.154, allocations: 0 / 1.312 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.154, allocations: 9.031 kB / 1.312 GB, free: 5.91 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.155, allocations: 0.633 MB / 1.312 GB, free: 5.469 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/1.155, allocations: 8.938 kB / 1.312 GB, free: 5.461 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/1.156, allocations: 142.1 kB / 1.313 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/1.156, allocations: 70.17 kB / 1.313 GB, free: 5.395 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/1.156, allocations: 27.16 kB / 1.313 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/1.158, allocations: 1.535 MB / 1.314 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.158, allocations: 0 / 1.314 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.16, allocations: 0.9257 MB / 1.315 GB, free: 3.059 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/1.161, allocations: 195.1 kB / 1.315 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.161, allocations: 20 kB / 1.315 GB, free: 2.848 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/1.162, allocations: 68 kB / 1.315 GB, free: 2.781 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.162, allocations: 72.86 kB / 1.315 GB, free: 2.711 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/1.162, allocations: 35.97 kB / 1.315 GB, free: 2.676 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005821/1.162, allocations: 439 kB / 1.316 GB, free: 2.25 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.162, allocations: 0 / 1.316 GB, free: 2.25 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001011/1.163, allocations: 331.1 kB / 1.316 GB, free: 1.926 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/1.166, allocations: 0.653 MB / 1.317 GB, free: 1.484 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001723/1.167, allocations: 0.7883 MB / 1.318 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.167, allocations: 0 / 1.318 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/1.168, allocations: 0.4925 MB / 1.318 GB, free: 184 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.169, allocations: 286.5 kB / 1.318 GB, free: 15.92 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/1.173, allocations: 1.675 MB / 1.32 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/1.173, allocations: 435.7 kB / 1.32 GB, free: 13.75 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008971/1.174, allocations: 266.4 kB / 1.321 GB, free: 13.49 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/1.174, allocations: 108.4 kB / 1.321 GB, free: 13.38 MB / 1.17 GB Notification: Performance of SimCode: time 6.41e-07/1.174, allocations: 0 / 1.321 GB, free: 13.38 MB / 1.17 GB Notification: Performance of Templates: time 0.02753/1.202, allocations: 15.2 MB / 1.336 GB, free: 14.49 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.531749490066431]