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.001818/0.001818, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002385/0.002385, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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 3.275/3.275, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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: 68.44 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007082/0.349, allocations: 4.431 MB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.5254, allocations: 132.7 MB / 1.497 GB, free: 4.477 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.5262, allocations: 23.81 kB / 1.497 GB, free: 4.453 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.5268, allocations: 194.2 kB / 1.497 GB, free: 4.262 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.5286, allocations: 0.5638 MB / 1.498 GB, free: 3.699 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.5306, allocations: 0.8545 MB / 1.499 GB, free: 2.852 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.5328, allocations: 1.394 MB / 1.5 GB, free: 1.453 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009577/0.5338, allocations: 405.8 kB / 1.501 GB, free: 1.031 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.5347, allocations: 0.4944 MB / 1.501 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.5354, allocations: 465.7 kB / 1.502 GB, free: 80 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.5356, allocations: 120 kB / 1.502 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.5367, allocations: 487.6 kB / 1.502 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.537, allocations: 303 kB / 1.502 GB, free: 15.19 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.5375, allocations: 469.7 kB / 1.503 GB, free: 14.73 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.5398, allocations: 1.685 MB / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5398, allocations: 0 / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5398, allocations: 3.938 kB / 1.505 GB, free: 13.03 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.5398, allocations: 0 / 1.505 GB, free: 13.03 MB / 1.201 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.002708/0.5425, allocations: 1.411 MB / 1.506 GB, free: 11.59 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5425, allocations: 8.031 kB / 1.506 GB, free: 11.58 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.5427, allocations: 135.4 kB / 1.506 GB, free: 11.44 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.5442, allocations: 224 kB / 1.506 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.5457, allocations: 0.7297 MB / 1.507 GB, free: 10.46 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.5457, allocations: 65.94 kB / 1.507 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5459, allocations: 80 kB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.5477, allocations: 1.173 MB / 1.508 GB, free: 9.043 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.5477, allocations: 0 / 1.508 GB, free: 9.043 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.5478, allocations: 36 kB / 1.508 GB, free: 9.008 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.5478, allocations: 20 kB / 1.508 GB, free: 8.988 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.5497, allocations: 1.057 MB / 1.509 GB, free: 7.93 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004572/0.5543, allocations: 2.22 MB / 1.511 GB, free: 5.645 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.5559, allocations: 0.7484 MB / 1.512 GB, free: 4.891 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/0.5564, allocations: 270.7 kB / 1.512 GB, free: 4.625 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.5565, allocations: 24.64 kB / 1.512 GB, free: 4.602 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009776/0.5575, allocations: 0.5839 MB / 1.513 GB, free: 3.973 MB / 1.201 GB Notification: Performance of pre-optimization done (n=80): time 4.629e-06/0.5575, allocations: 4 kB / 1.513 GB, free: 3.969 MB / 1.201 GB Notification: Performance of matching and sorting (n=80): time 0.003519/0.561, allocations: 1.123 MB / 1.514 GB, free: 2.836 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.5612, allocations: 192.6 kB / 1.514 GB, free: 2.605 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5622, allocations: 0.6528 MB / 1.515 GB, free: 1.941 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/0.5623, allocations: 45.7 kB / 1.515 GB, free: 1.891 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.5627, allocations: 409 kB / 1.515 GB, free: 1.484 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.563, allocations: 269.7 kB / 1.516 GB, free: 1.219 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.5632, allocations: 146.6 kB / 1.516 GB, free: 1.07 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.5634, allocations: 394.7 kB / 1.516 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.564, allocations: 253.8 kB / 1.516 GB, free: 436 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.5647, allocations: 491.1 kB / 1.517 GB, free: 15.89 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.5658, allocations: 0.5799 MB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5658, allocations: 4 kB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002126/0.5679, allocations: 0.8063 MB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.568, allocations: 4 kB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.568, allocations: 0 / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.5686, allocations: 88.77 kB / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.5692, allocations: 147.8 kB / 1.518 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.5716, allocations: 1.519 MB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.5725, allocations: 95.45 kB / 1.52 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/0.5725, allocations: 31.98 kB / 1.52 GB, free: 12.48 MB / 1.217 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.0005937/0.5731, allocations: 270.8 kB / 1.52 GB, free: 12.21 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.5734, allocations: 87.44 kB / 1.52 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.576, allocations: 1.062 MB / 1.521 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.576, allocations: 8 kB / 1.521 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.576, allocations: 3.938 kB / 1.521 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.576, allocations: 3.984 kB / 1.521 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.5772, allocations: 0.7545 MB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.5772, allocations: 4 kB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.5778, allocations: 139.8 kB / 1.522 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.5783, allocations: 76.78 kB / 1.522 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.5784, allocations: 19.98 kB / 1.522 GB, free: 9.996 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.5805, allocations: 1.551 MB / 1.524 GB, free: 8.324 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5805, allocations: 0 / 1.524 GB, free: 8.324 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.5827, allocations: 0.9284 MB / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.5832, allocations: 203.2 kB / 1.525 GB, free: 7.176 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.5833, allocations: 20 kB / 1.525 GB, free: 7.156 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.584, allocations: 77.84 kB / 1.525 GB, free: 7.082 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.5841, allocations: 80.73 kB / 1.525 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.5842, allocations: 31.98 kB / 1.525 GB, free: 6.969 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006956/0.5849, allocations: 479 kB / 1.526 GB, free: 6.504 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5849, allocations: 3.938 kB / 1.526 GB, free: 6.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009232/0.5858, allocations: 319.2 kB / 1.526 GB, free: 6.188 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 (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.004466/0.5903, allocations: 2.018 MB / 1.528 GB, free: 4.352 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.5921, allocations: 0.7687 MB / 1.529 GB, free: 3.57 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5921, allocations: 0 / 1.529 GB, free: 3.57 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.5931, allocations: 0.4886 MB / 1.529 GB, free: 3.074 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.5945, allocations: 306 kB / 1.53 GB, free: 2.793 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.6059, allocations: 6.214 MB / 1.536 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.6064, allocations: 439.8 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009229/0.6074, allocations: 270.7 kB / 1.536 GB, free: 11.69 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.608, allocations: 387.2 kB / 1.537 GB, free: 11.31 MB / 1.232 GB Notification: Performance of SimCode: time 1.272e-06/0.608, allocations: 0 / 1.537 GB, free: 11.31 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06673/0.6747, allocations: 23.39 MB / 1.559 GB, free: 4.254 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.25, allocations: 15.53 kB / 1.56 GB, free: 4.242 MB / 1.248 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] 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: 21.401083399076015]