Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.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.00129/0.00129, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001464/0.001464, allocations: 213 kB / 22.25 MB, free: 5.086 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.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.167/3.167, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [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.002021/0.002021, allocations: 71.62 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00814/0.3513, allocations: 6.065 MB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1809/0.5322, allocations: 154.4 MB / 1.483 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.5332, allocations: 31.75 kB / 1.483 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007142/0.5339, allocations: 241.7 kB / 1.483 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.536, allocations: 0.6523 MB / 1.483 GB, free: 0 / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.5382, allocations: 0.913 MB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002259/0.5404, allocations: 1.673 MB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.5415, allocations: 0.6011 MB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.5426, allocations: 0.6501 MB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.5435, allocations: 0.669 MB / 1.488 GB, free: 11.45 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.5437, allocations: 156 kB / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5448, allocations: 0.5503 MB / 1.489 GB, free: 10.74 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003516/0.5452, allocations: 374.8 kB / 1.489 GB, free: 10.38 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007601/0.5459, allocations: 0.7501 MB / 1.49 GB, free: 9.621 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.5487, allocations: 2.086 MB / 1.492 GB, free: 7.527 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5487, allocations: 0 / 1.492 GB, free: 7.527 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5487, allocations: 0 / 1.492 GB, free: 7.527 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.272e-05/0.5487, allocations: 4 kB / 1.492 GB, free: 7.523 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003206/0.5519, allocations: 1.721 MB / 1.493 GB, free: 5.766 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.552, allocations: 8.031 kB / 1.493 GB, free: 5.758 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/0.5522, allocations: 181.8 kB / 1.494 GB, free: 5.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.5538, allocations: 275.7 kB / 1.494 GB, free: 5.301 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.5553, allocations: 0.8195 MB / 1.495 GB, free: 4.453 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.304e-05/0.5554, allocations: 86.41 kB / 1.495 GB, free: 4.367 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.5555, allocations: 116 kB / 1.495 GB, free: 4.254 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.5576, allocations: 1.202 MB / 1.496 GB, free: 2.988 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.5576, allocations: 4 kB / 1.496 GB, free: 2.984 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.5577, allocations: 55.97 kB / 1.496 GB, free: 2.93 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.5578, allocations: 32 kB / 1.496 GB, free: 2.898 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.5599, allocations: 1.281 MB / 1.497 GB, free: 1.609 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005941/0.5659, allocations: 3.648 MB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.5675, allocations: 0.8191 MB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.5681, allocations: 294.7 kB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.679e-05/0.5682, allocations: 32.59 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009553/0.5691, allocations: 0.5242 MB / 1.502 GB, free: 12.06 MB / 1.201 GB Notification: Performance of pre-optimization done (n=87): time 2.926e-06/0.5691, allocations: 4 kB / 1.502 GB, free: 12.06 MB / 1.201 GB Notification: Performance of matching and sorting (n=87): time 0.003492/0.5726, allocations: 1.219 MB / 1.504 GB, free: 10.83 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5728, allocations: 192.9 kB / 1.504 GB, free: 10.6 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.5739, allocations: 0.755 MB / 1.505 GB, free: 9.832 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.574, allocations: 49.64 kB / 1.505 GB, free: 9.777 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.5745, allocations: 0.5321 MB / 1.505 GB, free: 9.238 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.5748, allocations: 301.4 kB / 1.505 GB, free: 8.941 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.575, allocations: 154.6 kB / 1.506 GB, free: 8.785 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.5752, allocations: 337.9 kB / 1.506 GB, free: 8.449 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.5757, allocations: 273.9 kB / 1.506 GB, free: 8.18 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.5764, allocations: 382.5 kB / 1.507 GB, free: 7.781 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5775, allocations: 0.6359 MB / 1.507 GB, free: 7.133 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5775, allocations: 0 / 1.507 GB, free: 7.133 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002129/0.5797, allocations: 0.8803 MB / 1.508 GB, free: 6.246 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5797, allocations: 13.5 kB / 1.508 GB, free: 6.234 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5797, allocations: 0 / 1.508 GB, free: 6.234 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.5803, allocations: 80.88 kB / 1.508 GB, free: 6.152 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.581, allocations: 163.8 kB / 1.508 GB, free: 5.992 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.5833, allocations: 1.531 MB / 1.51 GB, free: 4.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.5842, allocations: 115.3 kB / 1.51 GB, free: 4.227 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.5843, allocations: 27.98 kB / 1.51 GB, free: 4.199 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (96): * Single equations (assignments): 95 * 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.0006172/0.5849, allocations: 297.8 kB / 1.51 GB, free: 3.898 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.5851, allocations: 103.3 kB / 1.51 GB, free: 3.797 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.5876, allocations: 1.122 MB / 1.511 GB, free: 2.664 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.5876, allocations: 12 kB / 1.511 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5877, allocations: 0 / 1.511 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.5877, allocations: 3.984 kB / 1.511 GB, free: 2.648 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.5891, allocations: 1.043 MB / 1.512 GB, free: 1.562 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5891, allocations: 0 / 1.512 GB, free: 1.562 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.5898, allocations: 155.7 kB / 1.513 GB, free: 1.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/0.5902, allocations: 72.78 kB / 1.513 GB, free: 1.336 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.5903, allocations: 31.92 kB / 1.513 GB, free: 1.305 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.5923, allocations: 1.555 MB / 1.514 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5923, allocations: 0 / 1.514 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.5945, allocations: 0.9946 MB / 1.515 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.595, allocations: 227 kB / 1.515 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.5952, allocations: 20 kB / 1.515 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/0.5958, allocations: 59.88 kB / 1.515 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.596, allocations: 80.84 kB / 1.516 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.5961, allocations: 43.92 kB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007685/0.5969, allocations: 0.5341 MB / 1.516 GB, free: 13.66 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5969, allocations: 0 / 1.516 GB, free: 13.66 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001007/0.5979, allocations: 390.9 kB / 1.516 GB, free: 13.28 MB / 1.217 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 (98): * Single equations (assignments): 92 * 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.004318/0.6022, allocations: 2.059 MB / 1.518 GB, free: 11.37 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.6041, allocations: 0.8273 MB / 1.519 GB, free: 10.53 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6041, allocations: 0 / 1.519 GB, free: 10.53 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009754/0.6051, allocations: 0.5121 MB / 1.52 GB, free: 10 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6064, allocations: 331 kB / 1.52 GB, free: 9.707 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.6188, allocations: 7.144 MB / 1.527 GB, free: 2.406 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/0.6196, allocations: 1.11 MB / 1.528 GB, free: 1.27 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008985/0.6205, allocations: 283.7 kB / 1.528 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/0.6212, allocations: 491.2 kB / 1.529 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of SimCode: time 1.122e-06/0.6212, allocations: 4 kB / 1.529 GB, free: 0.5039 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06863/0.6899, allocations: 25.16 MB / 1.553 GB, free: 7.594 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.48, allocations: 9.484 kB / 1.553 GB, free: 7.586 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable HDifWal.H in file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.455078671999217]