Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 182.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.51/2.51, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.89 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7285, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007275/0.7358, allocations: 8.483 MB / 1.28 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1649/0.9007, allocations: 152.4 MB / 1.428 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.9023, allocations: 24 kB / 1.428 GB, free: 15.83 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.9033, allocations: 322.8 kB / 1.429 GB, free: 15.54 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.9063, allocations: 0.8618 MB / 1.43 GB, free: 14.85 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.9091, allocations: 1.416 MB / 1.431 GB, free: 13.71 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.9121, allocations: 2.992 MB / 1.434 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.9135, allocations: 1.004 MB / 1.435 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.9147, allocations: 1.2 MB / 1.436 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.9161, allocations: 1.348 MB / 1.437 GB, free: 9.402 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.9164, allocations: 325.5 kB / 1.438 GB, free: 9.402 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.9175, allocations: 0.7151 MB / 1.438 GB, free: 9.195 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.918, allocations: 0.6909 MB / 1.439 GB, free: 8.605 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.9191, allocations: 1.337 MB / 1.44 GB, free: 7.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003398/0.9225, allocations: 3.682 MB / 1.444 GB, free: 3.824 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9225, allocations: 0 / 1.444 GB, free: 3.824 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9225, allocations: 0 / 1.444 GB, free: 3.824 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.9226, allocations: 0 / 1.444 GB, free: 3.824 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005407/0.928, allocations: 2.905 MB / 1.447 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.928, allocations: 8.031 kB / 1.447 GB, free: 0.832 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000358/0.9284, allocations: 316.9 kB / 1.447 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.943, allocations: 2.125 MB / 1.449 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.9449, allocations: 1.294 MB / 1.45 GB, free: 13.04 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.945, allocations: 168.5 kB / 1.451 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.9454, allocations: 219.9 kB / 1.451 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/0.953, allocations: 3.282 MB / 1.454 GB, free: 9.281 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.953, allocations: 3.938 kB / 1.454 GB, free: 9.277 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.9533, allocations: 95.98 kB / 1.454 GB, free: 9.184 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.9533, allocations: 56 kB / 1.454 GB, free: 9.129 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.9652, allocations: 4.197 MB / 1.458 GB, free: 4.914 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.01397/0.9792, allocations: 8.052 MB / 1.466 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008508/0.9877, allocations: 2.704 MB / 1.469 GB, free: 9.875 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/0.9918, allocations: 1.356 MB / 1.47 GB, free: 8.516 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006962/0.9925, allocations: 0.5035 MB / 1.471 GB, free: 7.922 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004708/0.9972, allocations: 1.844 MB / 1.472 GB, free: 6.059 MB / 1.154 GB Notification: Performance of pre-optimization done (n=213): time 3.477e-06/0.9972, allocations: 0 / 1.472 GB, free: 6.059 MB / 1.154 GB Notification: Performance of matching and sorting (n=213): time 0.01424/1.011, allocations: 4.486 MB / 1.477 GB, free: 1.547 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.012, allocations: 205.9 kB / 1.477 GB, free: 1.301 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/1.013, allocations: 0.9413 MB / 1.478 GB, free: 348 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/1.013, allocations: 65.7 kB / 1.478 GB, free: 276 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/1.013, allocations: 0.7641 MB / 1.479 GB, free: 15.49 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006058/1.014, allocations: 0.7164 MB / 1.479 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006867/1.015, allocations: 375.4 kB / 1.48 GB, free: 14.4 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.015, allocations: 305.1 kB / 1.48 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/1.019, allocations: 1.241 MB / 1.481 GB, free: 12.86 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/1.023, allocations: 1.437 MB / 1.483 GB, free: 11.38 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008104/1.031, allocations: 2.587 MB / 1.485 GB, free: 8.777 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.031, allocations: 4 kB / 1.485 GB, free: 8.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009487/1.041, allocations: 3.082 MB / 1.488 GB, free: 5.68 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.041, allocations: 6.031 kB / 1.488 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.041, allocations: 0 / 1.488 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/1.041, allocations: 92.83 kB / 1.488 GB, free: 5.582 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.045, allocations: 0.5889 MB / 1.489 GB, free: 4.992 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.047, allocations: 1.643 MB / 1.491 GB, free: 3.203 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/1.05, allocations: 366.5 kB / 1.491 GB, free: 2.844 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/1.05, allocations: 95.89 kB / 1.491 GB, free: 2.75 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0009104/1.051, allocations: 439.6 kB / 1.491 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/1.051, allocations: 159 kB / 1.492 GB, free: 2.156 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.062, allocations: 3.724 MB / 1.495 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/1.062, allocations: 24 kB / 1.495 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.062, allocations: 0 / 1.495 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.062, allocations: 7.969 kB / 1.495 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/1.065, allocations: 2.464 MB / 1.498 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.065, allocations: 3.938 kB / 1.498 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/1.068, allocations: 0.5578 MB / 1.498 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/1.069, allocations: 72.8 kB / 1.498 GB, free: 11.24 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/1.069, allocations: 79.91 kB / 1.498 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/1.071, allocations: 1.662 MB / 1.5 GB, free: 9.352 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.071, allocations: 8.062 kB / 1.5 GB, free: 9.344 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009744/1.081, allocations: 3.215 MB / 1.503 GB, free: 6.102 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/1.082, allocations: 0.5578 MB / 1.504 GB, free: 5.523 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/1.082, allocations: 55.88 kB / 1.504 GB, free: 5.469 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/1.085, allocations: 272.7 kB / 1.504 GB, free: 5.203 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.085, allocations: 149.8 kB / 1.504 GB, free: 5.059 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.085, allocations: 95.91 kB / 1.504 GB, free: 4.965 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001024/1.086, allocations: 0.6958 MB / 1.505 GB, free: 4.262 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.086, allocations: 4 kB / 1.505 GB, free: 4.258 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001682/1.088, allocations: 0.678 MB / 1.506 GB, free: 3.578 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.012/1.1, allocations: 4.333 MB / 1.51 GB, free: 15.39 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009435/1.109, allocations: 3.01 MB / 1.513 GB, free: 12.37 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.109, allocations: 256 / 1.513 GB, free: 12.37 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/1.114, allocations: 1.622 MB / 1.514 GB, free: 10.74 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/1.116, allocations: 385.9 kB / 1.515 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0382/1.154, allocations: 15.9 MB / 1.53 GB, free: 10.27 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.155, allocations: 1.43 MB / 1.532 GB, free: 8.801 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002573/1.158, allocations: 0.5757 MB / 1.532 GB, free: 8.219 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/1.159, allocations: 0.8818 MB / 1.533 GB, free: 7.336 MB / 1.217 GB Notification: Performance of SimCode: time 6.81e-07/1.159, allocations: 4 kB / 1.533 GB, free: 7.332 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08192/1.241, allocations: 43.32 MB / 1.575 GB, free: 12.29 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.47, allocations: 21.66 kB / 1.575 GB, free: 12.28 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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: 19.966766614001244]