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.001322/0.001322, allocations: 116.1 kB / 17.17 MB, free: 6 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.001774/0.001774, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.925/2.925, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="cs",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.002041/0.002041, allocations: 71.89 kB / 1.165 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9286/0.9307, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006482/0.9372, allocations: 4.903 MB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1937/1.131, allocations: 154 MB / 1.495 GB, free: 8.324 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009629/1.132, allocations: 23.38 kB / 1.495 GB, free: 8.312 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006559/1.133, allocations: 194.3 kB / 1.496 GB, free: 8.141 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/1.134, allocations: 0.558 MB / 1.496 GB, free: 7.723 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/1.137, allocations: 0.8544 MB / 1.497 GB, free: 7.078 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001822/1.139, allocations: 1.401 MB / 1.498 GB, free: 6.199 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/1.139, allocations: 432.1 kB / 1.499 GB, free: 5.867 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008227/1.14, allocations: 0.4905 MB / 1.499 GB, free: 5.375 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/1.141, allocations: 0.5095 MB / 1.5 GB, free: 4.863 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/1.141, allocations: 116 kB / 1.5 GB, free: 4.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/1.142, allocations: 0.5035 MB / 1.5 GB, free: 4.246 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/1.142, allocations: 307 kB / 1.501 GB, free: 3.945 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006307/1.143, allocations: 0.5635 MB / 1.501 GB, free: 3.379 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/1.145, allocations: 1.669 MB / 1.503 GB, free: 1.703 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.145, allocations: 4 kB / 1.503 GB, free: 1.699 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.583e-06/1.145, allocations: 0 / 1.503 GB, free: 1.699 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.806e-05/1.145, allocations: 0 / 1.503 GB, free: 1.699 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.002844/1.148, allocations: 1.502 MB / 1.504 GB, free: 148 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.148, allocations: 8.031 kB / 1.504 GB, free: 140 kB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.348e-05/1.148, allocations: 22.19 kB / 1.504 GB, free: 120 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/1.149, allocations: 135.5 kB / 1.504 GB, free: 15.97 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/1.15, allocations: 228 kB / 1.505 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/1.151, allocations: 0.7899 MB / 1.505 GB, free: 14.92 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/1.151, allocations: 62 kB / 1.505 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.152, allocations: 84 kB / 1.505 GB, free: 14.78 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/1.153, allocations: 0.9183 MB / 1.506 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/1.153, allocations: 0 / 1.506 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/1.153, allocations: 32 kB / 1.506 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/1.153, allocations: 20 kB / 1.506 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/1.155, allocations: 1.1 MB / 1.507 GB, free: 12.67 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/1.16, allocations: 2.743 MB / 1.51 GB, free: 9.801 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.161, allocations: 0.7494 MB / 1.511 GB, free: 9.051 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/1.162, allocations: 278.7 kB / 1.511 GB, free: 8.777 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.633e-05/1.162, allocations: 28.69 kB / 1.511 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009411/1.163, allocations: 495.1 kB / 1.512 GB, free: 8.246 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 2.505e-06/1.163, allocations: 0 / 1.512 GB, free: 8.246 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.003441/1.166, allocations: 1.204 MB / 1.513 GB, free: 7.016 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.166, allocations: 188.6 kB / 1.513 GB, free: 6.789 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/1.167, allocations: 0.6528 MB / 1.514 GB, free: 6.125 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.321e-05/1.167, allocations: 45.7 kB / 1.514 GB, free: 6.074 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/1.168, allocations: 409 kB / 1.514 GB, free: 5.668 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/1.168, allocations: 269.7 kB / 1.514 GB, free: 5.402 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/1.168, allocations: 150.6 kB / 1.514 GB, free: 5.25 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.168, allocations: 390.7 kB / 1.515 GB, free: 4.859 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/1.169, allocations: 249.8 kB / 1.515 GB, free: 4.613 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/1.17, allocations: 358.6 kB / 1.515 GB, free: 4.238 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.171, allocations: 0.5838 MB / 1.516 GB, free: 3.641 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.171, allocations: 0 / 1.516 GB, free: 3.641 MB / 1.186 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002022/1.173, allocations: 0.8141 MB / 1.517 GB, free: 2.82 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.173, allocations: 4 kB / 1.517 GB, free: 2.816 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.173, allocations: 3.938 kB / 1.517 GB, free: 2.812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/1.174, allocations: 84.83 kB / 1.517 GB, free: 2.727 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/1.174, allocations: 159.8 kB / 1.517 GB, free: 2.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/1.176, allocations: 1.627 MB / 1.519 GB, free: 0.793 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/1.177, allocations: 83.61 kB / 1.519 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/1.177, allocations: 32.05 kB / 1.519 GB, free: 0.6797 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: 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.0004395/1.178, allocations: 269.5 kB / 1.519 GB, free: 416 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/1.178, allocations: 87.44 kB / 1.519 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/1.18, allocations: 1.066 MB / 1.52 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.18, allocations: 11.94 kB / 1.52 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.18, allocations: 0 / 1.52 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.18, allocations: 3.984 kB / 1.52 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.182, allocations: 0.8997 MB / 1.521 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.182, allocations: 4 kB / 1.521 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.182, allocations: 155.7 kB / 1.521 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/1.183, allocations: 68.78 kB / 1.521 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/1.183, allocations: 27.92 kB / 1.521 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/1.185, allocations: 1.654 MB / 1.523 GB, free: 12.22 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.185, allocations: 0 / 1.523 GB, free: 12.22 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/1.187, allocations: 0.9322 MB / 1.524 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/1.188, allocations: 280.2 kB / 1.524 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.188, allocations: 27.88 kB / 1.524 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/1.188, allocations: 63.92 kB / 1.524 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.189, allocations: 68.84 kB / 1.524 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/1.189, allocations: 39.97 kB / 1.524 GB, free: 10.78 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006982/1.189, allocations: 475 kB / 1.525 GB, free: 10.32 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.189, allocations: 4 kB / 1.525 GB, free: 10.31 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008919/1.19, allocations: 315.2 kB / 1.525 GB, free: 10 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.004366/1.195, allocations: 1.988 MB / 1.527 GB, free: 8.168 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001917/1.196, allocations: 0.7688 MB / 1.528 GB, free: 7.387 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.196, allocations: 0 / 1.528 GB, free: 7.387 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.197, allocations: 0.4925 MB / 1.528 GB, free: 6.883 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.199, allocations: 293.6 kB / 1.528 GB, free: 6.621 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.211, allocations: 6.223 MB / 1.535 GB, free: 248 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/1.211, allocations: 1.027 MB / 1.536 GB, free: 15.19 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009182/1.212, allocations: 270.8 kB / 1.536 GB, free: 14.92 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/1.213, allocations: 387.3 kB / 1.536 GB, free: 14.54 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/1.213, allocations: 0 / 1.536 GB, free: 14.54 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/1.272, allocations: 21.94 MB / 1.558 GB, free: 8.965 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/15.07, allocations: 14.98 kB / 1.558 GB, free: 8.957 MB / 1.232 GB " [Timeout remaining time 285] (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.679911501996685]