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.001481/0.001481, allocations: 109 kB / 18.93 MB, free: 2.945 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.001451/0.001451, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.677/1.677, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8647, allocations: 160.8 MB / 1.218 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01102/0.8757, allocations: 8.538 MB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1834/1.059, allocations: 152.4 MB / 1.376 GB, free: 5.836 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/1.061, allocations: 31.81 kB / 1.376 GB, free: 5.805 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/1.062, allocations: 328.6 kB / 1.376 GB, free: 5.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/1.065, allocations: 0.8591 MB / 1.377 GB, free: 4.621 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/1.068, allocations: 1.422 MB / 1.378 GB, free: 3.203 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00405/1.073, allocations: 2.994 MB / 1.381 GB, free: 204 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/1.074, allocations: 1.012 MB / 1.382 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/1.076, allocations: 1.227 MB / 1.383 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/1.078, allocations: 1.354 MB / 1.385 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005005/1.078, allocations: 324 kB / 1.385 GB, free: 12.21 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/1.08, allocations: 0.7027 MB / 1.386 GB, free: 11.51 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006819/1.08, allocations: 0.701 MB / 1.386 GB, free: 10.81 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/1.082, allocations: 1.33 MB / 1.388 GB, free: 9.473 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004664/1.086, allocations: 3.682 MB / 1.391 GB, free: 5.777 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.086, allocations: 0 / 1.391 GB, free: 5.777 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.303e-06/1.086, allocations: 0 / 1.391 GB, free: 5.777 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.441e-05/1.087, allocations: 4 kB / 1.391 GB, free: 5.773 MB / 1.092 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.006419/1.093, allocations: 2.885 MB / 1.394 GB, free: 2.805 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.093, allocations: 8.031 kB / 1.394 GB, free: 2.797 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/1.109, allocations: 2.133 MB / 1.396 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/1.111, allocations: 1.287 MB / 1.397 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.112, allocations: 168.5 kB / 1.398 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/1.112, allocations: 224 kB / 1.398 GB, free: 14.93 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009158/1.121, allocations: 3.274 MB / 1.401 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/1.121, allocations: 7.938 kB / 1.401 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/1.122, allocations: 96 kB / 1.401 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/1.122, allocations: 52 kB / 1.401 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/1.134, allocations: 4.209 MB / 1.405 GB, free: 7.188 MB / 1.107 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.0184/1.153, allocations: 8.05 MB / 1.413 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009153/1.162, allocations: 2.708 MB / 1.416 GB, free: 12.15 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005419/1.167, allocations: 1.353 MB / 1.417 GB, free: 10.8 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009768/1.168, allocations: 0.5033 MB / 1.418 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005761/1.174, allocations: 1.853 MB / 1.419 GB, free: 8.332 MB / 1.123 GB Notification: Performance of pre-optimization done (n=213): time 8.015e-06/1.174, allocations: 8 kB / 1.419 GB, free: 8.324 MB / 1.123 GB Notification: Performance of matching and sorting (n=213): time 0.01603/1.19, allocations: 4.467 MB / 1.424 GB, free: 3.832 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/1.19, allocations: 213.9 kB / 1.424 GB, free: 3.578 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.192, allocations: 0.9448 MB / 1.425 GB, free: 2.613 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004253/1.192, allocations: 69.64 kB / 1.425 GB, free: 2.539 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007911/1.193, allocations: 0.7561 MB / 1.426 GB, free: 1.773 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009836/1.194, allocations: 0.7165 MB / 1.426 GB, free: 1.051 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007933/1.195, allocations: 395.3 kB / 1.427 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.195, allocations: 305.1 kB / 1.427 GB, free: 368 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/1.199, allocations: 1.253 MB / 1.428 GB, free: 15.1 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/1.204, allocations: 1.441 MB / 1.43 GB, free: 13.63 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008642/1.212, allocations: 2.606 MB / 1.432 GB, free: 11.01 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.212, allocations: 7.875 kB / 1.432 GB, free: 11 MB / 1.139 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01059/1.223, allocations: 3.129 MB / 1.435 GB, free: 7.859 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/1.223, allocations: 11.98 kB / 1.435 GB, free: 7.848 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.223, allocations: 0 / 1.435 GB, free: 7.848 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/1.224, allocations: 84.84 kB / 1.435 GB, free: 7.762 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/1.228, allocations: 0.6045 MB / 1.436 GB, free: 7.156 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.23, allocations: 1.634 MB / 1.438 GB, free: 5.375 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/1.233, allocations: 374.5 kB / 1.438 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004113/1.234, allocations: 104 kB / 1.438 GB, free: 4.906 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (239): * Single equations (assignments): 238 * 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.001158/1.235, allocations: 440.1 kB / 1.438 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/1.236, allocations: 167 kB / 1.439 GB, free: 4.305 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/1.248, allocations: 3.708 MB / 1.442 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/1.248, allocations: 24 kB / 1.442 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.248, allocations: 0 / 1.442 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/1.248, allocations: 11.95 kB / 1.442 GB, free: 0.543 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/1.251, allocations: 2.447 MB / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.251, allocations: 0 / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/1.255, allocations: 0.5655 MB / 1.445 GB, free: 13.49 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/1.256, allocations: 72.8 kB / 1.445 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003585/1.256, allocations: 83.84 kB / 1.445 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/1.258, allocations: 1.67 MB / 1.447 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.258, allocations: 0 / 1.447 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.269, allocations: 3.215 MB / 1.45 GB, free: 8.273 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.27, allocations: 0.5499 MB / 1.451 GB, free: 7.703 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/1.27, allocations: 47.89 kB / 1.451 GB, free: 7.656 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.273, allocations: 276.5 kB / 1.451 GB, free: 7.387 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/1.274, allocations: 161.6 kB / 1.451 GB, free: 7.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/1.274, allocations: 91.91 kB / 1.451 GB, free: 7.141 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001079/1.275, allocations: 0.6958 MB / 1.452 GB, free: 6.438 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.275, allocations: 0 / 1.452 GB, free: 6.438 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001996/1.277, allocations: 0.6935 MB / 1.453 GB, free: 5.742 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: 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.002226/1.279, allocations: 0.6637 MB / 1.453 GB, free: 5.25 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009935/1.289, allocations: 3.034 MB / 1.456 GB, free: 2.203 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.289, allocations: 4.25 kB / 1.456 GB, free: 2.199 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00513/1.294, allocations: 1.618 MB / 1.458 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.296, allocations: 397.6 kB / 1.458 GB, free: 200 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/1.306, allocations: 4.14 MB / 1.462 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.307, allocations: 1.422 MB / 1.464 GB, free: 10.56 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002959/1.31, allocations: 0.5716 MB / 1.464 GB, free: 9.984 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.311, allocations: 243.2 kB / 1.464 GB, free: 9.746 MB / 1.17 GB Notification: Performance of SimCode: time 1.202e-06/1.311, allocations: 3.938 kB / 1.464 GB, free: 9.742 MB / 1.17 GB Notification: Performance of Templates: time 0.05943/1.37, allocations: 33.26 MB / 1.497 GB, free: 8.637 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/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: 10.508090384304523]