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.001813/0.001813, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.00202/0.00202, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.472/1.472, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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.679/2.679, allocations: 437.1 MB / 0.7178 GB, free: 4.73 MB / 0.5606 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: 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.002066/0.002066, allocations: 67.89 kB / 1.028 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 151.6 MB / 1.176 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01155/0.3254, allocations: 8.462 MB / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.8471/1.173, allocations: 151.8 MB / 1.332 GB, free: 7.555 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/1.175, allocations: 19.34 kB / 1.332 GB, free: 7.551 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/1.176, allocations: 335.5 kB / 1.333 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004339/1.181, allocations: 0.8401 MB / 1.334 GB, free: 6.918 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/1.186, allocations: 1.392 MB / 1.335 GB, free: 6.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005677/1.191, allocations: 2.989 MB / 1.338 GB, free: 4.895 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/1.194, allocations: 1.492 MB / 1.339 GB, free: 4.102 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/1.198, allocations: 1.186 MB / 1.34 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/1.201, allocations: 1.347 MB / 1.342 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/1.202, allocations: 325.6 kB / 1.342 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/1.205, allocations: 0.6962 MB / 1.343 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/1.207, allocations: 0.7026 MB / 1.343 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003334/1.21, allocations: 1.335 MB / 1.345 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007321/1.217, allocations: 3.681 MB / 1.348 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/1.218, allocations: 5.219 kB / 1.348 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/1.218, allocations: 0 / 1.348 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001931/1.218, allocations: 2.953 kB / 1.348 GB, free: 15.75 MB / 1.029 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.01048/1.228, allocations: 2.891 MB / 1.351 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.228, allocations: 12.12 kB / 1.351 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/1.244, allocations: 2.121 MB / 1.353 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004155/1.248, allocations: 1.294 MB / 1.354 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/1.249, allocations: 167.3 kB / 1.355 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.25, allocations: 221.3 kB / 1.355 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/1.262, allocations: 3.287 MB / 1.358 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.566e-05/1.262, allocations: 0 / 1.358 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007197/1.263, allocations: 92.09 kB / 1.358 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/1.263, allocations: 58.66 kB / 1.358 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.279, allocations: 4.205 MB / 1.362 GB, free: 9.344 MB / 1.029 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.02277/1.301, allocations: 8.044 MB / 1.37 GB, free: 3.098 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.312, allocations: 2.879 MB / 1.373 GB, free: 1.656 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004955/1.317, allocations: 1.506 MB / 1.374 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/1.318, allocations: 0.5039 MB / 1.375 GB, free: 356 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006071/1.324, allocations: 1.837 MB / 1.377 GB, free: 15.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 5.34e-06/1.324, allocations: 0 / 1.377 GB, free: 15.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.01648/1.34, allocations: 4.483 MB / 1.381 GB, free: 12.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/1.341, allocations: 208.3 kB / 1.381 GB, free: 12.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/1.342, allocations: 0.9496 MB / 1.382 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005807/1.343, allocations: 63.89 kB / 1.382 GB, free: 12.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/1.343, allocations: 0.7584 MB / 1.383 GB, free: 11.49 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.345, allocations: 0.7081 MB / 1.384 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008857/1.346, allocations: 396.9 kB / 1.384 GB, free: 10.62 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.346, allocations: 305.1 kB / 1.384 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/1.35, allocations: 1.257 MB / 1.386 GB, free: 9.691 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005091/1.355, allocations: 1.451 MB / 1.387 GB, free: 8.906 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009757/1.365, allocations: 2.609 MB / 1.39 GB, free: 7.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.365, allocations: 3.75 kB / 1.39 GB, free: 7.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01185/1.377, allocations: 3.133 MB / 1.393 GB, free: 5.207 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/1.377, allocations: 12.06 kB / 1.393 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.377, allocations: 0 / 1.393 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/1.378, allocations: 88.77 kB / 1.393 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/1.382, allocations: 0.6006 MB / 1.393 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/1.385, allocations: 1.632 MB / 1.395 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/1.389, allocations: 370.6 kB / 1.395 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/1.39, allocations: 107.9 kB / 1.395 GB, free: 2.254 MB / 1.045 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.001513/1.391, allocations: 436 kB / 1.396 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006475/1.392, allocations: 163 kB / 1.396 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.405, allocations: 3.714 MB / 1.4 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.405, allocations: 20 kB / 1.4 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.405, allocations: 0 / 1.4 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.75e-05/1.405, allocations: 11.95 kB / 1.4 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/1.41, allocations: 2.46 MB / 1.402 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.41, allocations: 0 / 1.402 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003928/1.414, allocations: 0.5616 MB / 1.403 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/1.414, allocations: 88.72 kB / 1.403 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005211/1.415, allocations: 71.91 kB / 1.403 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/1.417, allocations: 1.659 MB / 1.404 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.417, allocations: 0 / 1.404 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.429, allocations: 3.223 MB / 1.407 GB, free: 5.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.431, allocations: 0.5499 MB / 1.408 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/1.432, allocations: 51.89 kB / 1.408 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003173/1.435, allocations: 267.8 kB / 1.408 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.435, allocations: 157.8 kB / 1.408 GB, free: 4.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/1.435, allocations: 91.91 kB / 1.409 GB, free: 4.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001144/1.437, allocations: 0.6958 MB / 1.409 GB, free: 3.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.437, allocations: 0 / 1.409 GB, free: 3.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002233/1.439, allocations: 0.6857 MB / 1.41 GB, free: 3.109 MB / 1.061 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.002304/1.441, allocations: 0.6823 MB / 1.411 GB, free: 2.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.453, allocations: 3.17 MB / 1.414 GB, free: 15.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.453, allocations: 0 / 1.414 GB, free: 15.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005962/1.459, allocations: 1.751 MB / 1.415 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/1.461, allocations: 399.8 kB / 1.416 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.472, allocations: 4.188 MB / 1.42 GB, free: 9.074 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.473, allocations: 1.422 MB / 1.421 GB, free: 7.613 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.475, allocations: 291.1 kB / 1.422 GB, free: 7.328 MB / 1.076 GB Notification: Performance of SimCode: time 7.32e-07/1.475, allocations: 0 / 1.422 GB, free: 7.328 MB / 1.076 GB Notification: Performance of Templates: time 0.06755/1.542, allocations: 42.44 MB / 1.463 GB, free: 12.94 MB / 1.123 GB " [Timeout remaining time 298] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.108201673952863]