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.001642/0.001642, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002073/0.002073, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.177/3.177, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 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="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.003116/0.003116, allocations: 65.94 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3759, allocations: 179 MB / 1.345 GB, free: 4 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007621/0.3836, allocations: 4.427 MB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.5519, allocations: 132.6 MB / 1.479 GB, free: 6.449 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008351/0.5527, allocations: 19.88 kB / 1.479 GB, free: 6.43 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.5534, allocations: 198.2 kB / 1.479 GB, free: 6.234 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.5554, allocations: 0.5584 MB / 1.48 GB, free: 5.676 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.5576, allocations: 0.8578 MB / 1.481 GB, free: 4.824 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5594, allocations: 1.394 MB / 1.482 GB, free: 3.422 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/0.5603, allocations: 410 kB / 1.482 GB, free: 3 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008695/0.5612, allocations: 0.506 MB / 1.483 GB, free: 2.492 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008155/0.562, allocations: 0.504 MB / 1.483 GB, free: 1.988 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.5623, allocations: 116 kB / 1.484 GB, free: 1.875 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.5634, allocations: 0.4996 MB / 1.484 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.5638, allocations: 303 kB / 1.484 GB, free: 1.078 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.5644, allocations: 465.7 kB / 1.485 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.5669, allocations: 1.681 MB / 1.486 GB, free: 14.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5669, allocations: 7.938 kB / 1.486 GB, free: 14.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5669, allocations: 0 / 1.486 GB, free: 14.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.277e-05/0.5669, allocations: 0 / 1.486 GB, free: 14.93 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.003161/0.5701, allocations: 1.419 MB / 1.488 GB, free: 13.47 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5701, allocations: 8.031 kB / 1.488 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.98e-05/0.5702, allocations: 26.19 kB / 1.488 GB, free: 13.44 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002166/0.5704, allocations: 135.3 kB / 1.488 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.572, allocations: 232 kB / 1.488 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.5735, allocations: 0.714 MB / 1.489 GB, free: 12.33 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.5736, allocations: 69.98 kB / 1.489 GB, free: 12.26 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5737, allocations: 79.98 kB / 1.489 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.5755, allocations: 1.169 MB / 1.49 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5755, allocations: 0 / 1.49 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.5756, allocations: 36 kB / 1.49 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.5756, allocations: 20 kB / 1.49 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.5775, allocations: 1.104 MB / 1.491 GB, free: 9.754 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.5817, allocations: 2.22 MB / 1.493 GB, free: 7.469 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.5832, allocations: 0.7545 MB / 1.494 GB, free: 6.707 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.5837, allocations: 270.7 kB / 1.494 GB, free: 6.438 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.272e-05/0.5838, allocations: 24.64 kB / 1.494 GB, free: 6.414 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.5848, allocations: 0.58 MB / 1.495 GB, free: 5.789 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/0.5848, allocations: 0 / 1.495 GB, free: 5.789 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.003355/0.5882, allocations: 1.128 MB / 1.496 GB, free: 4.656 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.5883, allocations: 188.6 kB / 1.496 GB, free: 4.43 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/0.5893, allocations: 0.6528 MB / 1.497 GB, free: 3.766 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.5894, allocations: 45.7 kB / 1.497 GB, free: 3.715 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.5898, allocations: 413 kB / 1.497 GB, free: 3.305 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.5901, allocations: 273.6 kB / 1.498 GB, free: 3.035 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.5903, allocations: 146.6 kB / 1.498 GB, free: 2.887 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5905, allocations: 390.7 kB / 1.498 GB, free: 2.496 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.5911, allocations: 249.9 kB / 1.498 GB, free: 2.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007035/0.5918, allocations: 483.1 kB / 1.499 GB, free: 1.723 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5929, allocations: 0.5877 MB / 1.499 GB, free: 1.125 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5929, allocations: 0 / 1.499 GB, free: 1.125 MB / 1.186 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002024/0.5949, allocations: 0.8101 MB / 1.5 GB, free: 308 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5949, allocations: 8 kB / 1.5 GB, free: 300 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5949, allocations: 3.938 kB / 1.5 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.5956, allocations: 88.77 kB / 1.5 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.5962, allocations: 147.8 kB / 1.5 GB, free: 56 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.5986, allocations: 1.518 MB / 1.502 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008428/0.5994, allocations: 91.52 kB / 1.502 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.5995, allocations: 35.97 kB / 1.502 GB, free: 14.29 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.0005747/0.6001, allocations: 265.6 kB / 1.502 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.6003, allocations: 87.44 kB / 1.502 GB, free: 13.94 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.6028, allocations: 1.062 MB / 1.503 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.6028, allocations: 15.88 kB / 1.503 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.6028, allocations: 0 / 1.503 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6029, allocations: 3.984 kB / 1.503 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.6041, allocations: 0.7507 MB / 1.504 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6041, allocations: 4 kB / 1.504 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.6047, allocations: 143.8 kB / 1.504 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.6051, allocations: 68.78 kB / 1.504 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.6052, allocations: 23.98 kB / 1.504 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.6072, allocations: 1.547 MB / 1.506 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6072, allocations: 0 / 1.506 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.6094, allocations: 0.9322 MB / 1.507 GB, free: 9.191 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.6098, allocations: 207.1 kB / 1.507 GB, free: 8.988 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.6099, allocations: 16.06 kB / 1.507 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/0.6106, allocations: 67.94 kB / 1.507 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.6108, allocations: 76.8 kB / 1.507 GB, free: 8.828 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.6108, allocations: 35.97 kB / 1.507 GB, free: 8.793 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007148/0.6115, allocations: 475 kB / 1.508 GB, free: 8.332 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6115, allocations: 4 kB / 1.508 GB, free: 8.328 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001208/0.6128, allocations: 323.2 kB / 1.508 GB, free: 8.012 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.004536/0.6173, allocations: 2.016 MB / 1.51 GB, free: 6.176 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.6191, allocations: 0.7727 MB / 1.511 GB, free: 5.391 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6191, allocations: 4.062 kB / 1.511 GB, free: 5.387 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009575/0.62, allocations: 492.2 kB / 1.511 GB, free: 4.898 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6213, allocations: 307.5 kB / 1.511 GB, free: 4.617 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6324, allocations: 6.217 MB / 1.518 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.6329, allocations: 439.8 kB / 1.518 GB, free: 13.78 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008891/0.6338, allocations: 270.7 kB / 1.518 GB, free: 13.51 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/0.6344, allocations: 387.3 kB / 1.519 GB, free: 13.13 MB / 1.217 GB Notification: Performance of SimCode: time 8.02e-07/0.6344, allocations: 0 / 1.519 GB, free: 13.13 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05835/0.6927, allocations: 23.18 MB / 1.541 GB, free: 6.305 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.52, allocations: 13.72 kB / 1.541 GB, free: 6.293 MB / 1.232 GB " [Timeout remaining time 284] (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: 22.508216858957894]