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.001567/0.001567, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001717/0.001717, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.56/1.56, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] 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.739/2.739, allocations: 476.7 MB / 0.7611 GB, free: 15.71 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.002724/0.002724, allocations: 67.88 kB / 1.104 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9437/0.9464, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009048/0.9555, allocations: 8.454 MB / 1.277 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2051/1.161, allocations: 152.3 MB / 1.426 GB, free: 192 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/1.163, allocations: 20.53 kB / 1.426 GB, free: 188 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/1.165, allocations: 330.9 kB / 1.426 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004367/1.169, allocations: 0.8642 MB / 1.427 GB, free: 15.2 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/1.173, allocations: 1.383 MB / 1.428 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004982/1.178, allocations: 2.996 MB / 1.431 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/1.181, allocations: 1.007 MB / 1.432 GB, free: 11.49 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/1.183, allocations: 1.207 MB / 1.433 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/1.186, allocations: 1.352 MB / 1.435 GB, free: 9.766 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/1.187, allocations: 324.5 kB / 1.435 GB, free: 9.766 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/1.19, allocations: 0.7029 MB / 1.436 GB, free: 9.57 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.191, allocations: 0.6954 MB / 1.436 GB, free: 8.977 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002831/1.194, allocations: 1.34 MB / 1.438 GB, free: 7.969 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006447/1.201, allocations: 3.684 MB / 1.441 GB, free: 4.523 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.201, allocations: 0 / 1.441 GB, free: 4.523 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.753e-06/1.201, allocations: 0 / 1.441 GB, free: 4.523 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001312/1.201, allocations: 0 / 1.441 GB, free: 4.523 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.008694/1.21, allocations: 2.897 MB / 1.444 GB, free: 1.547 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.21, allocations: 16.03 kB / 1.444 GB, free: 1.531 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005511/1.21, allocations: 316.9 kB / 1.444 GB, free: 1.211 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/1.225, allocations: 2.125 MB / 1.446 GB, free: 15.08 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/1.228, allocations: 1.291 MB / 1.448 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/1.228, allocations: 168.5 kB / 1.448 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004673/1.229, allocations: 220 kB / 1.448 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008653/1.237, allocations: 3.29 MB / 1.451 GB, free: 9.977 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/1.237, allocations: 0 / 1.451 GB, free: 9.977 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/1.238, allocations: 92 kB / 1.451 GB, free: 9.887 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/1.238, allocations: 52 kB / 1.451 GB, free: 9.836 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/1.25, allocations: 4.205 MB / 1.456 GB, free: 5.613 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.01799/1.268, allocations: 8.049 MB / 1.463 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008475/1.276, allocations: 2.704 MB / 1.466 GB, free: 10.58 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00436/1.281, allocations: 1.355 MB / 1.467 GB, free: 9.223 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008125/1.282, allocations: 0.5074 MB / 1.468 GB, free: 8.625 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005144/1.287, allocations: 1.847 MB / 1.47 GB, free: 6.758 MB / 1.154 GB Notification: Performance of pre-optimization done (n=213): time 3.807e-06/1.287, allocations: 0 / 1.47 GB, free: 6.758 MB / 1.154 GB Notification: Performance of matching and sorting (n=213): time 0.0148/1.301, allocations: 4.483 MB / 1.474 GB, free: 2.25 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/1.302, allocations: 205.9 kB / 1.474 GB, free: 2.004 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.303, allocations: 0.9452 MB / 1.475 GB, free: 1.039 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003402/1.303, allocations: 65.7 kB / 1.475 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007183/1.304, allocations: 0.7641 MB / 1.476 GB, free: 200 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/1.305, allocations: 0.7166 MB / 1.477 GB, free: 15.47 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007199/1.306, allocations: 379.3 kB / 1.477 GB, free: 15.09 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.306, allocations: 305.1 kB / 1.477 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/1.31, allocations: 1.234 MB / 1.479 GB, free: 13.56 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/1.314, allocations: 1.437 MB / 1.48 GB, free: 12.09 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008497/1.323, allocations: 2.587 MB / 1.482 GB, free: 9.48 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.323, allocations: 0 / 1.482 GB, free: 9.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01036/1.333, allocations: 3.086 MB / 1.485 GB, free: 6.383 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/1.333, allocations: 8 kB / 1.485 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.333, allocations: 0 / 1.485 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/1.334, allocations: 84.84 kB / 1.486 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/1.338, allocations: 0.5967 MB / 1.486 GB, free: 5.691 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/1.34, allocations: 1.631 MB / 1.488 GB, free: 3.914 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.344, allocations: 374.5 kB / 1.488 GB, free: 3.547 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005322/1.344, allocations: 91.91 kB / 1.488 GB, free: 3.457 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.001643/1.346, allocations: 435.6 kB / 1.489 GB, free: 3.023 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007351/1.347, allocations: 163 kB / 1.489 GB, free: 2.863 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.359, allocations: 3.724 MB / 1.492 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/1.359, allocations: 24 kB / 1.492 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.359, allocations: 4 kB / 1.492 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/1.359, allocations: 11.95 kB / 1.492 GB, free: 15.07 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/1.363, allocations: 2.46 MB / 1.495 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.363, allocations: 3.938 kB / 1.495 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/1.366, allocations: 0.5578 MB / 1.495 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/1.367, allocations: 80.72 kB / 1.495 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/1.367, allocations: 71.91 kB / 1.495 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.369, allocations: 1.658 MB / 1.497 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.369, allocations: 0 / 1.497 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.379, allocations: 3.223 MB / 1.5 GB, free: 6.812 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.381, allocations: 0.5578 MB / 1.501 GB, free: 6.234 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004207/1.381, allocations: 52 kB / 1.501 GB, free: 6.184 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/1.384, allocations: 277.9 kB / 1.501 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.384, allocations: 153.8 kB / 1.501 GB, free: 5.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.384, allocations: 91.91 kB / 1.501 GB, free: 5.676 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001119/1.385, allocations: 0.6958 MB / 1.502 GB, free: 4.973 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.385, allocations: 7.875 kB / 1.502 GB, free: 4.965 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001981/1.387, allocations: 0.6819 MB / 1.503 GB, free: 4.281 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.0124/1.4, allocations: 4.324 MB / 1.507 GB, free: 112 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.41, allocations: 3.006 MB / 1.51 GB, free: 13.09 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.41, allocations: 4 kB / 1.51 GB, free: 13.09 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005007/1.415, allocations: 1.615 MB / 1.511 GB, free: 11.46 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.417, allocations: 409.2 kB / 1.512 GB, free: 11.09 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04124/1.458, allocations: 15.9 MB / 1.527 GB, free: 10.98 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.459, allocations: 1.43 MB / 1.529 GB, free: 9.516 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003032/1.462, allocations: 0.5756 MB / 1.529 GB, free: 8.934 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/1.464, allocations: 0.8818 MB / 1.53 GB, free: 8.051 MB / 1.217 GB Notification: Performance of SimCode: time 1.493e-06/1.464, allocations: 4 kB / 1.53 GB, free: 8.047 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09505/1.559, allocations: 43.06 MB / 1.572 GB, free: 13.35 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.62, allocations: 14.41 kB / 1.572 GB, free: 13.34 MB / 1.264 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 23.01733105117455]