Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001876/0.001876, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002254/0.002254, allocations: 164.3 kB / 23.01 MB, free: 4.598 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.925/2.925, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003027/0.003027, allocations: 75.88 kB / 1.009 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9641/0.9672, allocations: 181.8 MB / 1.187 GB, free: 16.14 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005598/0.9728, allocations: 4.426 MB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1943/1.167, allocations: 132.7 MB / 1.32 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/1.168, allocations: 19.81 kB / 1.321 GB, free: 12.8 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009627/1.169, allocations: 198.2 kB / 1.321 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/1.172, allocations: 0.5585 MB / 1.321 GB, free: 12.05 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/1.175, allocations: 0.8626 MB / 1.322 GB, free: 11.19 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002227/1.177, allocations: 1.401 MB / 1.323 GB, free: 9.785 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/1.178, allocations: 393.9 kB / 1.324 GB, free: 9.375 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008811/1.179, allocations: 0.4983 MB / 1.324 GB, free: 8.875 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/1.179, allocations: 465.8 kB / 1.325 GB, free: 8.418 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/1.18, allocations: 116 kB / 1.325 GB, free: 8.305 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/1.181, allocations: 491.6 kB / 1.325 GB, free: 7.824 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/1.181, allocations: 303 kB / 1.326 GB, free: 7.527 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005253/1.182, allocations: 469.7 kB / 1.326 GB, free: 7.066 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/1.184, allocations: 1.677 MB / 1.328 GB, free: 5.387 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.184, allocations: 8 kB / 1.328 GB, free: 5.379 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.174e-06/1.184, allocations: 0 / 1.328 GB, free: 5.379 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.06e-05/1.184, allocations: 0 / 1.328 GB, free: 5.379 MB / 1.17 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.002727/1.187, allocations: 1.411 MB / 1.329 GB, free: 3.934 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/1.187, allocations: 8.031 kB / 1.329 GB, free: 3.926 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/1.188, allocations: 232 kB / 1.329 GB, free: 3.699 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/1.19, allocations: 0.7104 MB / 1.33 GB, free: 2.961 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/1.19, allocations: 62 kB / 1.33 GB, free: 2.898 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.19, allocations: 83.98 kB / 1.33 GB, free: 2.816 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/1.192, allocations: 1.162 MB / 1.331 GB, free: 1.555 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/1.192, allocations: 11.92 kB / 1.331 GB, free: 1.543 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/1.192, allocations: 36 kB / 1.331 GB, free: 1.508 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/1.192, allocations: 20 kB / 1.331 GB, free: 1.488 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/1.194, allocations: 1.054 MB / 1.332 GB, free: 444 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/1.198, allocations: 2.088 MB / 1.334 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.2, allocations: 0.7533 MB / 1.335 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/1.2, allocations: 274.7 kB / 1.335 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/1.2, allocations: 20.83 kB / 1.335 GB, free: 13.25 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/1.201, allocations: 0.5994 MB / 1.336 GB, free: 12.6 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/1.201, allocations: 0 / 1.336 GB, free: 12.6 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.003378/1.205, allocations: 1.119 MB / 1.337 GB, free: 11.47 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.205, allocations: 192.6 kB / 1.337 GB, free: 11.24 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/1.206, allocations: 0.6056 MB / 1.338 GB, free: 10.62 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/1.206, allocations: 41.7 kB / 1.338 GB, free: 10.58 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/1.206, allocations: 413 kB / 1.338 GB, free: 10.17 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/1.207, allocations: 269.7 kB / 1.339 GB, free: 9.902 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/1.207, allocations: 162.6 kB / 1.339 GB, free: 9.738 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002214/1.207, allocations: 382.7 kB / 1.339 GB, free: 9.355 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/1.208, allocations: 273.8 kB / 1.339 GB, free: 9.09 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/1.208, allocations: 495.6 kB / 1.34 GB, free: 8.559 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.21, allocations: 0.6033 MB / 1.34 GB, free: 7.945 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.21, allocations: 64 / 1.34 GB, free: 7.945 MB / 1.186 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002121/1.212, allocations: 0.8609 MB / 1.341 GB, free: 7.074 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.212, allocations: 8 kB / 1.341 GB, free: 7.066 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.212, allocations: 96 / 1.341 GB, free: 7.066 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/1.212, allocations: 88.75 kB / 1.341 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/1.213, allocations: 155.8 kB / 1.342 GB, free: 6.824 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/1.215, allocations: 1.504 MB / 1.343 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/1.216, allocations: 88.12 kB / 1.343 GB, free: 5.129 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/1.216, allocations: 39.97 kB / 1.343 GB, free: 5.09 MB / 1.186 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.000478/1.217, allocations: 267.8 kB / 1.343 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.217, allocations: 83.42 kB / 1.343 GB, free: 4.738 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/1.219, allocations: 1.061 MB / 1.344 GB, free: 3.664 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.219, allocations: 19.94 kB / 1.344 GB, free: 3.645 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.219, allocations: 0 / 1.344 GB, free: 3.645 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.219, allocations: 3.984 kB / 1.344 GB, free: 3.641 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/1.22, allocations: 0.638 MB / 1.345 GB, free: 2.973 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.22, allocations: 0 / 1.345 GB, free: 2.973 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/1.221, allocations: 139.8 kB / 1.345 GB, free: 2.836 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/1.222, allocations: 80.72 kB / 1.345 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/1.222, allocations: 23.98 kB / 1.345 GB, free: 2.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.224, allocations: 1.52 MB / 1.347 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.224, allocations: 0 / 1.347 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.226, allocations: 0.9244 MB / 1.348 GB, free: 160 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/1.226, allocations: 199.2 kB / 1.348 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.226, allocations: 20 kB / 1.348 GB, free: 15.94 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/1.227, allocations: 66.09 kB / 1.348 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.227, allocations: 80.84 kB / 1.348 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/1.227, allocations: 35.98 kB / 1.348 GB, free: 15.76 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006045/1.228, allocations: 431 kB / 1.349 GB, free: 15.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/1.228, allocations: 4 kB / 1.349 GB, free: 15.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009211/1.229, allocations: 335.1 kB / 1.349 GB, free: 15.01 MB / 1.201 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.002124/1.231, allocations: 0.6246 MB / 1.349 GB, free: 14.59 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001843/1.233, allocations: 0.8076 MB / 1.35 GB, free: 13.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.233, allocations: 0 / 1.35 GB, free: 13.77 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/1.234, allocations: 0.4886 MB / 1.351 GB, free: 13.27 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/1.235, allocations: 296.2 kB / 1.351 GB, free: 13 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/1.238, allocations: 1.674 MB / 1.353 GB, free: 11.3 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/1.239, allocations: 432.3 kB / 1.353 GB, free: 10.85 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008365/1.24, allocations: 262.5 kB / 1.353 GB, free: 10.59 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/1.24, allocations: 104.5 kB / 1.353 GB, free: 10.48 MB / 1.201 GB Notification: Performance of SimCode: time 4.81e-07/1.24, allocations: 0 / 1.353 GB, free: 10.48 MB / 1.201 GB Notification: Performance of Templates: time 0.02952/1.27, allocations: 15.2 MB / 1.368 GB, free: 11.55 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.879920325940475]