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.001968/0.001968, allocations: 111 kB / 16.46 MB, free: 6.453 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.002286/0.002286, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.139/3.139, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.002047/0.002047, allocations: 71.25 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007428/0.339, allocations: 4.913 MB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5266, allocations: 154 MB / 1.476 GB, free: 3.828 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.5275, allocations: 23.81 kB / 1.476 GB, free: 3.805 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008285/0.5284, allocations: 194.2 kB / 1.476 GB, free: 3.613 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.5305, allocations: 0.5636 MB / 1.477 GB, free: 3.051 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.5328, allocations: 0.8539 MB / 1.478 GB, free: 2.203 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.5349, allocations: 1.401 MB / 1.479 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009886/0.5359, allocations: 414.3 kB / 1.479 GB, free: 376 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.537, allocations: 0.4983 MB / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.538, allocations: 0.5018 MB / 1.48 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003733/0.5384, allocations: 120 kB / 1.48 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.5399, allocations: 0.5152 MB / 1.481 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005535/0.5405, allocations: 303 kB / 1.481 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.5415, allocations: 0.5596 MB / 1.482 GB, free: 13.87 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.5451, allocations: 1.681 MB / 1.483 GB, free: 12.18 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5451, allocations: 0 / 1.483 GB, free: 12.18 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5451, allocations: 0 / 1.483 GB, free: 12.18 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.134e-05/0.5451, allocations: 0 / 1.483 GB, free: 12.18 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003583/0.5487, allocations: 1.486 MB / 1.485 GB, free: 10.65 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5488, allocations: 15.98 kB / 1.485 GB, free: 10.63 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.549, allocations: 143.4 kB / 1.485 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.5505, allocations: 228 kB / 1.485 GB, free: 10.26 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5519, allocations: 0.7823 MB / 1.486 GB, free: 9.438 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.5519, allocations: 62 kB / 1.486 GB, free: 9.375 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5521, allocations: 80 kB / 1.486 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5537, allocations: 0.9145 MB / 1.487 GB, free: 8.344 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5537, allocations: 3.938 kB / 1.487 GB, free: 8.34 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.5538, allocations: 36 kB / 1.487 GB, free: 8.305 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.5539, allocations: 20 kB / 1.487 GB, free: 8.285 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5558, allocations: 1.104 MB / 1.488 GB, free: 7.176 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.5602, allocations: 2.744 MB / 1.491 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.5617, allocations: 0.7511 MB / 1.492 GB, free: 3.547 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.5623, allocations: 274.6 kB / 1.492 GB, free: 3.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.5624, allocations: 28.69 kB / 1.492 GB, free: 3.242 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000952/0.5633, allocations: 0.4952 MB / 1.492 GB, free: 2.727 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 2.174e-06/0.5633, allocations: 0 / 1.492 GB, free: 2.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.003519/0.5668, allocations: 1.194 MB / 1.493 GB, free: 1.508 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.567, allocations: 192.6 kB / 1.494 GB, free: 1.277 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.5679, allocations: 0.649 MB / 1.494 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/0.568, allocations: 41.7 kB / 1.494 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.5683, allocations: 413 kB / 1.495 GB, free: 168 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.5686, allocations: 273.9 kB / 1.495 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.5688, allocations: 142.6 kB / 1.495 GB, free: 15.74 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.5691, allocations: 394.5 kB / 1.496 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.5696, allocations: 249.9 kB / 1.496 GB, free: 15.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.5703, allocations: 358.5 kB / 1.496 GB, free: 14.73 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.5715, allocations: 0.5838 MB / 1.497 GB, free: 14.14 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5715, allocations: 0 / 1.497 GB, free: 14.14 MB / 1.201 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002092/0.5736, allocations: 0.8063 MB / 1.497 GB, free: 13.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.5736, allocations: 4 kB / 1.497 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5736, allocations: 4 kB / 1.497 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.5742, allocations: 88.8 kB / 1.498 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.5749, allocations: 147.8 kB / 1.498 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.5773, allocations: 1.634 MB / 1.499 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.5781, allocations: 95.56 kB / 1.499 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.5781, allocations: 27.98 kB / 1.499 GB, free: 11.18 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 (87): * Single equations (assignments): 86 * 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.0005022/0.5786, allocations: 272.2 kB / 1.5 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.5788, allocations: 91.38 kB / 1.5 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.5814, allocations: 1.066 MB / 1.501 GB, free: 9.727 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5814, allocations: 11.94 kB / 1.501 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5814, allocations: 0 / 1.501 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5815, allocations: 7.984 kB / 1.501 GB, free: 9.707 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.5827, allocations: 0.9037 MB / 1.502 GB, free: 8.754 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5827, allocations: 7.938 kB / 1.502 GB, free: 8.746 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.5833, allocations: 143.8 kB / 1.502 GB, free: 8.605 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/0.5838, allocations: 72.78 kB / 1.502 GB, free: 8.531 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.5839, allocations: 23.98 kB / 1.502 GB, free: 8.508 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.586, allocations: 1.658 MB / 1.504 GB, free: 6.707 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.586, allocations: 4.062 kB / 1.504 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.5882, allocations: 0.9323 MB / 1.504 GB, free: 5.75 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.5887, allocations: 280.2 kB / 1.505 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.5888, allocations: 20 kB / 1.505 GB, free: 5.438 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.5894, allocations: 63.92 kB / 1.505 GB, free: 5.375 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.5896, allocations: 72.84 kB / 1.505 GB, free: 5.305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/0.5897, allocations: 39.97 kB / 1.505 GB, free: 5.266 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000684/0.5904, allocations: 475 kB / 1.505 GB, free: 4.805 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5904, allocations: 0 / 1.505 GB, free: 4.805 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009304/0.5913, allocations: 319.2 kB / 1.506 GB, free: 4.492 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.004537/0.5958, allocations: 1.993 MB / 1.508 GB, free: 2.66 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.5975, allocations: 0.7687 MB / 1.508 GB, free: 1.879 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5976, allocations: 4 kB / 1.508 GB, free: 1.875 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.5985, allocations: 488.4 kB / 1.509 GB, free: 1.383 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.5998, allocations: 296.7 kB / 1.509 GB, free: 1.113 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.6109, allocations: 6.235 MB / 1.515 GB, free: 10.72 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.6116, allocations: 1.019 MB / 1.516 GB, free: 9.668 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008416/0.6124, allocations: 274.8 kB / 1.516 GB, free: 9.395 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.613, allocations: 395.2 kB / 1.517 GB, free: 9.008 MB / 1.217 GB Notification: Performance of SimCode: time 6.12e-07/0.613, allocations: 0 / 1.517 GB, free: 9.008 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06274/0.6758, allocations: 21.87 MB / 1.538 GB, free: 3.465 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.32, allocations: 6.156 kB / 1.538 GB, free: 3.461 MB / 1.232 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] 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: 21.023471247870475]