Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001655/0.001655, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002194/0.002194, allocations: 212 kB / 20.13 MB, free: 2.949 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.4/1.4, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.614/2.614, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_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.001934/0.001934, allocations: 63.89 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8374, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008424/0.8458, allocations: 6.013 MB / 1.285 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1832/1.029, allocations: 154.2 MB / 1.435 GB, free: 11.7 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/1.031, allocations: 23.81 kB / 1.435 GB, free: 11.67 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/1.032, allocations: 241.7 kB / 1.436 GB, free: 11.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002852/1.034, allocations: 0.6425 MB / 1.436 GB, free: 10.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/1.037, allocations: 0.9018 MB / 1.437 GB, free: 9.895 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002762/1.04, allocations: 1.669 MB / 1.439 GB, free: 8.219 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/1.041, allocations: 0.6042 MB / 1.439 GB, free: 7.578 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/1.042, allocations: 0.654 MB / 1.44 GB, free: 6.922 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/1.043, allocations: 0.6651 MB / 1.441 GB, free: 6.254 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003951/1.044, allocations: 156 kB / 1.441 GB, free: 6.102 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/1.045, allocations: 0.5464 MB / 1.441 GB, free: 5.555 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003541/1.045, allocations: 378.8 kB / 1.442 GB, free: 5.184 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006993/1.046, allocations: 0.7463 MB / 1.442 GB, free: 4.434 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/1.049, allocations: 2.093 MB / 1.444 GB, free: 2.332 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.049, allocations: 0 / 1.444 GB, free: 2.332 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.613e-06/1.049, allocations: 0 / 1.444 GB, free: 2.332 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.615e-05/1.049, allocations: 0 / 1.444 GB, free: 2.332 MB / 1.123 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.003205/1.052, allocations: 1.792 MB / 1.446 GB, free: 492 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.052, allocations: 12.02 kB / 1.446 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.969e-05/1.052, allocations: 30.59 kB / 1.446 GB, free: 448 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/1.052, allocations: 177.8 kB / 1.446 GB, free: 260 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/1.054, allocations: 275.8 kB / 1.447 GB, free: 15.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.055, allocations: 0.8875 MB / 1.448 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/1.055, allocations: 86.41 kB / 1.448 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.056, allocations: 120 kB / 1.448 GB, free: 14.85 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/1.058, allocations: 1.202 MB / 1.449 GB, free: 13.58 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.058, allocations: 4 kB / 1.449 GB, free: 13.58 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.058, allocations: 51.94 kB / 1.449 GB, free: 13.53 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/1.058, allocations: 28 kB / 1.449 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/1.06, allocations: 1.281 MB / 1.45 GB, free: 12.21 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/1.065, allocations: 3.578 MB / 1.454 GB, free: 8.457 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/1.067, allocations: 0.8167 MB / 1.455 GB, free: 7.637 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/1.067, allocations: 294.6 kB / 1.455 GB, free: 7.348 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.369e-05/1.067, allocations: 36.59 kB / 1.455 GB, free: 7.312 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009254/1.068, allocations: 0.5243 MB / 1.455 GB, free: 6.777 MB / 1.139 GB Notification: Performance of pre-optimization done (n=87): time 2.485e-06/1.068, allocations: 0 / 1.455 GB, free: 6.777 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.003439/1.072, allocations: 1.283 MB / 1.457 GB, free: 5.465 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.072, allocations: 196.9 kB / 1.457 GB, free: 5.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/1.073, allocations: 0.7589 MB / 1.458 GB, free: 4.461 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/1.073, allocations: 41.7 kB / 1.458 GB, free: 4.414 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/1.073, allocations: 0.5321 MB / 1.458 GB, free: 3.875 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.074, allocations: 297.4 kB / 1.458 GB, free: 3.582 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/1.074, allocations: 162.6 kB / 1.459 GB, free: 3.418 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.074, allocations: 341.9 kB / 1.459 GB, free: 3.078 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/1.075, allocations: 265.9 kB / 1.459 GB, free: 2.816 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/1.075, allocations: 386.5 kB / 1.46 GB, free: 2.414 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/1.076, allocations: 0.6321 MB / 1.46 GB, free: 1.773 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.076, allocations: 0 / 1.46 GB, free: 1.773 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00207/1.078, allocations: 0.8882 MB / 1.461 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.078, allocations: 7.938 kB / 1.461 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.078, allocations: 96 / 1.461 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/1.079, allocations: 88.77 kB / 1.461 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/1.08, allocations: 167.7 kB / 1.461 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/1.082, allocations: 1.622 MB / 1.463 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/1.083, allocations: 103.5 kB / 1.463 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.083, allocations: 39.92 kB / 1.463 GB, free: 14.7 MB / 1.154 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.0005275/1.083, allocations: 294.1 kB / 1.463 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/1.083, allocations: 99.34 kB / 1.463 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/1.086, allocations: 1.122 MB / 1.464 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.086, allocations: 15.94 kB / 1.464 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/1.086, allocations: 3.938 kB / 1.464 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.086, allocations: 11.97 kB / 1.464 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/1.087, allocations: 1.067 MB / 1.466 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.087, allocations: 8 kB / 1.466 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/1.088, allocations: 151.8 kB / 1.466 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/1.088, allocations: 76.73 kB / 1.466 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/1.089, allocations: 31.91 kB / 1.466 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/1.091, allocations: 1.65 MB / 1.467 GB, free: 9.961 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.091, allocations: 0 / 1.467 GB, free: 9.961 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/1.093, allocations: 0.9868 MB / 1.468 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/1.093, allocations: 300.1 kB / 1.469 GB, free: 8.641 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.093, allocations: 20 kB / 1.469 GB, free: 8.621 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/1.094, allocations: 63.88 kB / 1.469 GB, free: 8.559 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.094, allocations: 76.89 kB / 1.469 GB, free: 8.484 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/1.094, allocations: 39.97 kB / 1.469 GB, free: 8.445 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007255/1.095, allocations: 0.5342 MB / 1.469 GB, free: 7.914 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.095, allocations: 3.938 kB / 1.469 GB, free: 7.91 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000952/1.096, allocations: 390.9 kB / 1.47 GB, free: 7.527 MB / 1.154 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.004293/1.1, allocations: 2.053 MB / 1.472 GB, free: 5.621 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.102, allocations: 0.8194 MB / 1.473 GB, free: 4.789 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.102, allocations: 7.938 kB / 1.473 GB, free: 4.781 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009782/1.103, allocations: 0.5082 MB / 1.473 GB, free: 4.262 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/1.104, allocations: 334.7 kB / 1.473 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.117, allocations: 7.149 MB / 1.48 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/1.118, allocations: 1.114 MB / 1.481 GB, free: 11.52 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008993/1.118, allocations: 275.7 kB / 1.482 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/1.119, allocations: 499.2 kB / 1.482 GB, free: 10.75 MB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/1.119, allocations: 0 / 1.482 GB, free: 10.75 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/1.176, allocations: 24.61 MB / 1.506 GB, free: 2.484 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.54, allocations: 3.25 kB / 1.506 GB, free: 2.484 MB / 1.186 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.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.90770836500451]