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.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.001645/0.001645, allocations: 110 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.001713/0.001713, allocations: 190.1 kB / 22.23 MB, free: 5.156 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.437/1.437, 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 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.773/2.773, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 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.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.89 kB / 1.109 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9394, allocations: 168.8 MB / 1.274 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008983/0.9484, allocations: 6.022 MB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.19/1.138, allocations: 151.4 MB / 1.428 GB, free: 6.191 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007694/1.139, allocations: 23.81 kB / 1.428 GB, free: 6.168 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006615/1.14, allocations: 233.8 kB / 1.428 GB, free: 5.938 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/1.142, allocations: 0.6356 MB / 1.429 GB, free: 5.301 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/1.144, allocations: 0.9 MB / 1.43 GB, free: 4.406 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0019/1.146, allocations: 1.658 MB / 1.431 GB, free: 2.742 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009851/1.147, allocations: 0.601 MB / 1.432 GB, free: 2.105 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008126/1.147, allocations: 0.6268 MB / 1.433 GB, free: 1.477 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/1.148, allocations: 0.6612 MB / 1.433 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/1.148, allocations: 152 kB / 1.433 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009677/1.149, allocations: 0.5191 MB / 1.434 GB, free: 148 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003637/1.15, allocations: 370.8 kB / 1.434 GB, free: 15.78 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007574/1.151, allocations: 0.7424 MB / 1.435 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/1.154, allocations: 2.045 MB / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.154, allocations: 0 / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.443e-06/1.154, allocations: 0 / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.522e-05/1.154, allocations: 0 / 1.437 GB, free: 12.98 MB / 1.139 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.004526/1.159, allocations: 1.681 MB / 1.439 GB, free: 11.27 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.159, allocations: 8.031 kB / 1.439 GB, free: 11.26 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/1.16, allocations: 235.8 kB / 1.439 GB, free: 11.03 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/1.163, allocations: 0.8002 MB / 1.44 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.163, allocations: 86.41 kB / 1.44 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/1.163, allocations: 112 kB / 1.44 GB, free: 10 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003304/1.166, allocations: 1.21 MB / 1.441 GB, free: 8.727 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/1.166, allocations: 3.938 kB / 1.441 GB, free: 8.723 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/1.167, allocations: 52 kB / 1.441 GB, free: 8.672 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.026e-05/1.167, allocations: 28 kB / 1.441 GB, free: 8.645 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/1.17, allocations: 1.285 MB / 1.442 GB, free: 7.352 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.008401/1.179, allocations: 3.489 MB / 1.446 GB, free: 3.691 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/1.181, allocations: 0.8087 MB / 1.447 GB, free: 2.875 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008852/1.182, allocations: 298.7 kB / 1.447 GB, free: 2.578 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/1.182, allocations: 32.59 kB / 1.447 GB, free: 2.547 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/1.183, allocations: 0.5251 MB / 1.447 GB, free: 2.008 MB / 1.139 GB Notification: Performance of pre-optimization done (n=87): time 3.737e-06/1.183, allocations: 0 / 1.447 GB, free: 2.008 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.005125/1.188, allocations: 1.207 MB / 1.449 GB, free: 0.793 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/1.189, allocations: 196.9 kB / 1.449 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.19, allocations: 0.7353 MB / 1.449 GB, free: 15.8 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/1.19, allocations: 45.7 kB / 1.45 GB, free: 15.75 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006949/1.191, allocations: 0.5242 MB / 1.45 GB, free: 15.22 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000404/1.191, allocations: 301.4 kB / 1.45 GB, free: 14.93 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/1.192, allocations: 174.6 kB / 1.45 GB, free: 14.75 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.192, allocations: 338 kB / 1.451 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00093/1.193, allocations: 293.8 kB / 1.451 GB, free: 14.13 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.194, allocations: 391.1 kB / 1.451 GB, free: 13.73 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/1.196, allocations: 0.6633 MB / 1.452 GB, free: 13.06 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.196, allocations: 0 / 1.452 GB, free: 13.06 MB / 1.154 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003494/1.2, allocations: 0.9272 MB / 1.453 GB, free: 12.12 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.2, allocations: 8 kB / 1.453 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.2, allocations: 3.938 kB / 1.453 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/1.2, allocations: 80.88 kB / 1.453 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.202, allocations: 175.8 kB / 1.453 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/1.205, allocations: 1.528 MB / 1.455 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.206, allocations: 107.4 kB / 1.455 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.206, allocations: 43.97 kB / 1.455 GB, free: 10.06 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (104): * Single equations (assignments): 103 * 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.000827/1.207, allocations: 295.4 kB / 1.455 GB, free: 9.762 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/1.207, allocations: 95.39 kB / 1.455 GB, free: 9.668 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/1.211, allocations: 1.126 MB / 1.456 GB, free: 8.527 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/1.211, allocations: 11.94 kB / 1.456 GB, free: 8.516 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.211, allocations: 4 kB / 1.456 GB, free: 8.512 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.211, allocations: 3.984 kB / 1.456 GB, free: 8.508 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/1.213, allocations: 1.027 MB / 1.457 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.213, allocations: 0 / 1.457 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/1.214, allocations: 155.7 kB / 1.458 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006294/1.215, allocations: 72.78 kB / 1.458 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.215, allocations: 23.98 kB / 1.458 GB, free: 7.188 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/1.218, allocations: 1.562 MB / 1.459 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.218, allocations: 0 / 1.459 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/1.221, allocations: 0.9907 MB / 1.46 GB, free: 4.492 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007408/1.222, allocations: 211 kB / 1.46 GB, free: 4.285 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.222, allocations: 24 kB / 1.46 GB, free: 4.262 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/1.223, allocations: 63.92 kB / 1.46 GB, free: 4.199 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.223, allocations: 80.8 kB / 1.46 GB, free: 4.121 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/1.223, allocations: 35.97 kB / 1.461 GB, free: 4.086 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008731/1.224, allocations: 0.5146 MB / 1.461 GB, free: 3.574 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.224, allocations: 0 / 1.461 GB, free: 3.574 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001201/1.225, allocations: 402.8 kB / 1.461 GB, free: 3.18 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.002147/1.227, allocations: 0.6036 MB / 1.462 GB, free: 2.746 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00207/1.229, allocations: 0.8587 MB / 1.463 GB, free: 1.871 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.229, allocations: 0 / 1.463 GB, free: 1.871 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.23, allocations: 0.5119 MB / 1.463 GB, free: 1.348 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.232, allocations: 336.8 kB / 1.464 GB, free: 1.043 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/1.236, allocations: 2 MB / 1.466 GB, free: 15.01 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008678/1.236, allocations: 1.106 MB / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009854/1.237, allocations: 299.5 kB / 1.467 GB, free: 13.58 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/1.238, allocations: 107.4 kB / 1.467 GB, free: 13.48 MB / 1.17 GB Notification: Performance of SimCode: time 7.31e-07/1.238, allocations: 4 kB / 1.467 GB, free: 13.47 MB / 1.17 GB Notification: Performance of Templates: time 0.03435/1.272, allocations: 17.17 MB / 1.484 GB, free: 12.49 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.924405538477004]