Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002014/0.002014, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002415/0.002415, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.26 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.633/2.633, allocations: 443.4 MB / 0.7321 GB, free: 12.32 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.88 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9248, allocations: 160.8 MB / 1.218 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009618/0.9345, allocations: 6.051 MB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2021/1.137, allocations: 151.4 MB / 1.372 GB, free: 9.219 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/1.139, allocations: 23.81 kB / 1.372 GB, free: 9.195 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/1.14, allocations: 233.7 kB / 1.372 GB, free: 8.965 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/1.143, allocations: 0.6445 MB / 1.373 GB, free: 8.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/1.146, allocations: 0.8951 MB / 1.374 GB, free: 7.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00316/1.149, allocations: 1.661 MB / 1.376 GB, free: 5.762 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/1.151, allocations: 0.6011 MB / 1.376 GB, free: 5.117 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/1.153, allocations: 0.6268 MB / 1.377 GB, free: 4.488 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/1.154, allocations: 0.6573 MB / 1.377 GB, free: 3.828 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004538/1.154, allocations: 160 kB / 1.378 GB, free: 3.672 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/1.156, allocations: 0.5152 MB / 1.378 GB, free: 3.156 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/1.157, allocations: 378.8 kB / 1.378 GB, free: 2.785 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/1.158, allocations: 0.7346 MB / 1.379 GB, free: 2.047 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003804/1.162, allocations: 2.047 MB / 1.381 GB, free: 15.99 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/1.162, allocations: 0 / 1.381 GB, free: 15.99 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.874e-06/1.162, allocations: 0 / 1.381 GB, free: 15.99 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.451e-05/1.162, allocations: 0 / 1.381 GB, free: 15.99 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004203/1.166, allocations: 1.761 MB / 1.383 GB, free: 14.18 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.166, allocations: 8.031 kB / 1.383 GB, free: 14.17 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.167, allocations: 223.8 kB / 1.383 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/1.169, allocations: 0.8762 MB / 1.384 GB, free: 13.03 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.843e-05/1.169, allocations: 90.41 kB / 1.384 GB, free: 12.94 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/1.169, allocations: 120 kB / 1.384 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/1.172, allocations: 1.202 MB / 1.385 GB, free: 11.56 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/1.172, allocations: 0 / 1.385 GB, free: 11.56 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.172, allocations: 48 kB / 1.385 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/1.172, allocations: 28 kB / 1.385 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/1.174, allocations: 1.281 MB / 1.387 GB, free: 10.2 MB / 1.092 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.007219/1.182, allocations: 3.56 MB / 1.39 GB, free: 6.465 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/1.183, allocations: 0.8242 MB / 1.391 GB, free: 5.637 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/1.184, allocations: 298.7 kB / 1.391 GB, free: 5.344 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.35e-05/1.184, allocations: 24.62 kB / 1.391 GB, free: 5.316 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.185, allocations: 0.5237 MB / 1.392 GB, free: 4.77 MB / 1.092 GB Notification: Performance of pre-optimization done (n=87): time 3.987e-06/1.185, allocations: 0 / 1.392 GB, free: 4.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=87): time 0.003648/1.189, allocations: 1.28 MB / 1.393 GB, free: 3.469 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.189, allocations: 200.8 kB / 1.393 GB, free: 3.23 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/1.19, allocations: 0.7314 MB / 1.394 GB, free: 2.488 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.19, allocations: 45.7 kB / 1.394 GB, free: 2.438 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/1.191, allocations: 0.5242 MB / 1.394 GB, free: 1.906 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/1.191, allocations: 297.5 kB / 1.395 GB, free: 1.613 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/1.192, allocations: 182.5 kB / 1.395 GB, free: 1.426 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.192, allocations: 338 kB / 1.395 GB, free: 1.09 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/1.192, allocations: 289.8 kB / 1.396 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/1.193, allocations: 391.1 kB / 1.396 GB, free: 420 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/1.194, allocations: 0.6594 MB / 1.397 GB, free: 15.73 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.194, allocations: 0 / 1.397 GB, free: 15.73 MB / 1.108 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002284/1.197, allocations: 0.9272 MB / 1.397 GB, free: 14.8 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.197, allocations: 8.109 kB / 1.397 GB, free: 14.79 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.197, allocations: 7.875 kB / 1.397 GB, free: 14.79 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/1.197, allocations: 80.86 kB / 1.398 GB, free: 14.7 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/1.198, allocations: 175.8 kB / 1.398 GB, free: 14.53 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/1.201, allocations: 1.631 MB / 1.399 GB, free: 12.75 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/1.202, allocations: 99.52 kB / 1.399 GB, free: 12.66 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.202, allocations: 36.05 kB / 1.399 GB, free: 12.62 MB / 1.108 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.0006498/1.202, allocations: 303.4 kB / 1.4 GB, free: 12.32 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/1.203, allocations: 99.34 kB / 1.4 GB, free: 12.22 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/1.205, allocations: 1.129 MB / 1.401 GB, free: 11.08 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.205, allocations: 11.94 kB / 1.401 GB, free: 11.07 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.205, allocations: 4 kB / 1.401 GB, free: 11.07 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.205, allocations: 3.984 kB / 1.401 GB, free: 11.06 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/1.207, allocations: 1.044 MB / 1.402 GB, free: 9.969 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.207, allocations: 4 kB / 1.402 GB, free: 9.965 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/1.208, allocations: 151.7 kB / 1.402 GB, free: 9.816 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/1.208, allocations: 76.78 kB / 1.402 GB, free: 9.738 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/1.208, allocations: 23.98 kB / 1.402 GB, free: 9.715 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/1.211, allocations: 1.667 MB / 1.404 GB, free: 7.902 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.211, allocations: 0 / 1.404 GB, free: 7.902 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/1.213, allocations: 0.9907 MB / 1.405 GB, free: 6.891 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/1.213, allocations: 288.2 kB / 1.405 GB, free: 6.59 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.214, allocations: 19.98 kB / 1.405 GB, free: 6.57 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/1.214, allocations: 59.94 kB / 1.405 GB, free: 6.512 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/1.215, allocations: 88.78 kB / 1.405 GB, free: 6.426 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/1.215, allocations: 35.98 kB / 1.405 GB, free: 6.391 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0009023/1.216, allocations: 0.5107 MB / 1.406 GB, free: 5.883 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.01e-07/1.216, allocations: 4 kB / 1.406 GB, free: 5.879 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.001303/1.217, allocations: 394.8 kB / 1.406 GB, free: 5.492 MB / 1.108 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.002275/1.219, allocations: 0.6172 MB / 1.407 GB, free: 5.039 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.221, allocations: 0.8585 MB / 1.408 GB, free: 4.168 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.221, allocations: 0 / 1.408 GB, free: 4.168 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.222, allocations: 0.5082 MB / 1.408 GB, free: 3.648 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.224, allocations: 323.5 kB / 1.408 GB, free: 3.352 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/1.229, allocations: 2.013 MB / 1.41 GB, free: 1.305 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.23, allocations: 1.103 MB / 1.411 GB, free: 180 kB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.001178/1.231, allocations: 291.6 kB / 1.412 GB, free: 15.89 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/1.231, allocations: 115.4 kB / 1.412 GB, free: 15.77 MB / 1.123 GB Notification: Performance of SimCode: time 1.733e-06/1.231, allocations: 0 / 1.412 GB, free: 15.77 MB / 1.123 GB Notification: Performance of Templates: time 0.0369/1.268, allocations: 17.17 MB / 1.429 GB, free: 14.75 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.769065945409238]