Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001455/0.001455, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001411/0.001411, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 443.5 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 63.89 kB / 1.059 GB, free: 1.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2596, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00954/0.2691, allocations: 8.527 MB / 1.224 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6605/0.9297, allocations: 152.4 MB / 1.373 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.9307, allocations: 25.09 kB / 1.373 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007587/0.9315, allocations: 331.5 kB / 1.373 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.9336, allocations: 0.8526 MB / 1.374 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.9361, allocations: 1.408 MB / 1.375 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.9389, allocations: 2.99 MB / 1.378 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.9402, allocations: 1.008 MB / 1.379 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.9417, allocations: 1.207 MB / 1.38 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.9432, allocations: 1.348 MB / 1.382 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.9436, allocations: 326.2 kB / 1.382 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.9448, allocations: 0.701 MB / 1.383 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.9454, allocations: 0.6918 MB / 1.383 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.9465, allocations: 1.342 MB / 1.385 GB, free: 8.348 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.9501, allocations: 3.69 MB / 1.388 GB, free: 5.562 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9501, allocations: 0 / 1.388 GB, free: 5.562 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9501, allocations: 0 / 1.388 GB, free: 5.562 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.17e-05/0.9502, allocations: 5.438 kB / 1.388 GB, free: 5.559 MB / 1.061 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.005844/0.956, allocations: 2.898 MB / 1.391 GB, free: 3.465 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.956, allocations: 8.906 kB / 1.391 GB, free: 3.465 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000398/0.9564, allocations: 316.6 kB / 1.391 GB, free: 3.219 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.9711, allocations: 2.124 MB / 1.393 GB, free: 2.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.9736, allocations: 1.29 MB / 1.395 GB, free: 1.195 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.9737, allocations: 175.6 kB / 1.395 GB, free: 1.109 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004021/0.9741, allocations: 218.2 kB / 1.395 GB, free: 1.039 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008012/0.9822, allocations: 3.283 MB / 1.398 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.9822, allocations: 0 / 1.398 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.9825, allocations: 92.19 kB / 1.398 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.9825, allocations: 53.22 kB / 1.398 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.994, allocations: 4.207 MB / 1.403 GB, free: 12.95 MB / 1.076 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.0145/1.008, allocations: 8.044 MB / 1.41 GB, free: 6.711 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008092/1.017, allocations: 2.713 MB / 1.413 GB, free: 5.348 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004073/1.021, allocations: 1.357 MB / 1.414 GB, free: 4.051 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007131/1.021, allocations: 0.5074 MB / 1.415 GB, free: 3.453 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004703/1.026, allocations: 1.844 MB / 1.417 GB, free: 1.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=213): time 3.616e-06/1.026, allocations: 4 kB / 1.417 GB, free: 1.586 MB / 1.076 GB Notification: Performance of matching and sorting (n=213): time 0.01427/1.04, allocations: 4.474 MB / 1.421 GB, free: 13.09 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.04, allocations: 205.9 kB / 1.421 GB, free: 12.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.042, allocations: 0.9452 MB / 1.422 GB, free: 11.88 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/1.042, allocations: 61.7 kB / 1.422 GB, free: 11.81 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006238/1.043, allocations: 0.7601 MB / 1.423 GB, free: 11.04 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000663/1.043, allocations: 0.7204 MB / 1.424 GB, free: 10.31 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/1.044, allocations: 375.4 kB / 1.424 GB, free: 9.941 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.044, allocations: 309 kB / 1.424 GB, free: 9.637 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/1.048, allocations: 1.237 MB / 1.425 GB, free: 8.398 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/1.052, allocations: 1.437 MB / 1.427 GB, free: 6.926 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008071/1.06, allocations: 2.583 MB / 1.429 GB, free: 4.324 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.06, allocations: 0 / 1.429 GB, free: 4.324 MB / 1.092 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009638/1.07, allocations: 3.093 MB / 1.432 GB, free: 1.219 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.07, allocations: 8.062 kB / 1.432 GB, free: 1.211 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.07, allocations: 4.5 kB / 1.432 GB, free: 1.207 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/1.071, allocations: 84.78 kB / 1.433 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/1.074, allocations: 0.5967 MB / 1.433 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.076, allocations: 1.626 MB / 1.435 GB, free: 14.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/1.079, allocations: 363 kB / 1.435 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.079, allocations: 95.89 kB / 1.435 GB, free: 14.3 MB / 1.107 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.000942/1.08, allocations: 446.4 kB / 1.436 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/1.081, allocations: 163.9 kB / 1.436 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.092, allocations: 3.71 MB / 1.439 GB, free: 9.977 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/1.092, allocations: 23.98 kB / 1.439 GB, free: 9.953 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.092, allocations: 0 / 1.439 GB, free: 9.953 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.092, allocations: 11.95 kB / 1.439 GB, free: 9.941 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/1.095, allocations: 2.465 MB / 1.442 GB, free: 7.434 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.095, allocations: 0 / 1.442 GB, free: 7.434 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/1.098, allocations: 0.5617 MB / 1.442 GB, free: 6.871 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/1.099, allocations: 80.72 kB / 1.442 GB, free: 6.789 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/1.099, allocations: 71.91 kB / 1.442 GB, free: 6.719 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/1.101, allocations: 1.662 MB / 1.444 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.101, allocations: 0 / 1.444 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009525/1.11, allocations: 3.223 MB / 1.447 GB, free: 1.668 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008673/1.111, allocations: 0.5499 MB / 1.448 GB, free: 1.098 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/1.111, allocations: 55.83 kB / 1.448 GB, free: 1.043 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.114, allocations: 263.7 kB / 1.448 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/1.114, allocations: 153.8 kB / 1.448 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/1.114, allocations: 99.89 kB / 1.448 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009287/1.115, allocations: 0.6958 MB / 1.449 GB, free: 15.84 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.115, allocations: 0 / 1.449 GB, free: 15.84 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001647/1.117, allocations: 0.6858 MB / 1.45 GB, free: 15.15 MB / 1.123 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.01169/1.129, allocations: 4.345 MB / 1.454 GB, free: 10.96 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009207/1.138, allocations: 3.002 MB / 1.457 GB, free: 7.945 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.138, allocations: 4 kB / 1.457 GB, free: 7.941 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004723/1.143, allocations: 1.622 MB / 1.458 GB, free: 6.305 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/1.144, allocations: 407.4 kB / 1.459 GB, free: 5.926 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0375/1.182, allocations: 15.9 MB / 1.474 GB, free: 5.812 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.183, allocations: 1.426 MB / 1.476 GB, free: 4.348 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002471/1.185, allocations: 0.5718 MB / 1.476 GB, free: 3.77 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/1.187, allocations: 0.8857 MB / 1.477 GB, free: 2.883 MB / 1.139 GB Notification: Performance of SimCode: time 6.92e-07/1.187, allocations: 0 / 1.477 GB, free: 2.883 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08522/1.272, allocations: 43.32 MB / 1.519 GB, free: 7.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.41, allocations: 14.31 kB / 1.519 GB, free: 7.828 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.845704331994057]