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.001356/0.001356, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001391/0.001391, allocations: 192.3 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.523/1.523, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.771/2.771, allocations: 437.1 MB / 0.7177 GB, free: 4.539 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.002115/0.002115, allocations: 67.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3698, allocations: 151.6 MB / 1.176 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01128/0.3811, allocations: 8.454 MB / 1.184 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 1.021/1.402, allocations: 151.8 MB / 1.332 GB, free: 7.492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/1.405, allocations: 24.34 kB / 1.332 GB, free: 7.484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/1.406, allocations: 323.3 kB / 1.333 GB, free: 7.289 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004478/1.41, allocations: 0.8542 MB / 1.334 GB, free: 6.848 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/1.415, allocations: 1.384 MB / 1.335 GB, free: 6.406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006244/1.421, allocations: 2.998 MB / 1.338 GB, free: 4.863 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/1.424, allocations: 1.486 MB / 1.339 GB, free: 4.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/1.427, allocations: 1.191 MB / 1.34 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/1.43, allocations: 1.346 MB / 1.342 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008935/1.431, allocations: 328.2 kB / 1.342 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/1.433, allocations: 0.7003 MB / 1.343 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008425/1.434, allocations: 0.6936 MB / 1.343 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002023/1.436, allocations: 1.341 MB / 1.345 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00602/1.442, allocations: 3.682 MB / 1.348 GB, free: 15.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/1.442, allocations: 1.344 kB / 1.348 GB, free: 15.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.315e-06/1.442, allocations: 0 / 1.348 GB, free: 15.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000121/1.443, allocations: 0 / 1.348 GB, free: 15.72 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.008585/1.451, allocations: 2.895 MB / 1.351 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/1.451, allocations: 9.562 kB / 1.351 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/1.468, allocations: 2.118 MB / 1.353 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/1.471, allocations: 1.299 MB / 1.354 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/1.472, allocations: 168.7 kB / 1.355 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008075/1.472, allocations: 220.1 kB / 1.355 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/1.484, allocations: 3.283 MB / 1.358 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/1.484, allocations: 0 / 1.358 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/1.484, allocations: 91.41 kB / 1.358 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/1.484, allocations: 55.44 kB / 1.358 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/1.499, allocations: 4.212 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.02465/1.524, allocations: 8.053 MB / 1.37 GB, free: 3.086 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/1.535, allocations: 2.876 MB / 1.373 GB, free: 1.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005605/1.541, allocations: 1.495 MB / 1.374 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.542, allocations: 0.5061 MB / 1.375 GB, free: 356 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006811/1.549, allocations: 1.845 MB / 1.377 GB, free: 15.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 8.405e-06/1.549, allocations: 0 / 1.377 GB, free: 15.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.01889/1.568, allocations: 4.475 MB / 1.381 GB, free: 12.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/1.568, allocations: 208.3 kB / 1.381 GB, free: 12.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/1.57, allocations: 0.9443 MB / 1.382 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0006582/1.571, allocations: 72 kB / 1.382 GB, free: 12.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000941/1.572, allocations: 0.7581 MB / 1.383 GB, free: 11.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.573, allocations: 0.7179 MB / 1.384 GB, free: 10.85 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/1.575, allocations: 395.2 kB / 1.384 GB, free: 10.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.575, allocations: 301.1 kB / 1.384 GB, free: 10.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00497/1.58, allocations: 1.261 MB / 1.386 GB, free: 9.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005249/1.585, allocations: 1.439 MB / 1.387 GB, free: 8.902 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.595, allocations: 2.604 MB / 1.39 GB, free: 7.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/1.595, allocations: 6.031 kB / 1.39 GB, free: 7.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0132/1.609, allocations: 3.135 MB / 1.393 GB, free: 5.156 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.609, allocations: 4 kB / 1.393 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.609, allocations: 5 kB / 1.393 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/1.609, allocations: 84.83 kB / 1.393 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004435/1.614, allocations: 0.6006 MB / 1.393 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/1.617, allocations: 1.643 MB / 1.395 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/1.621, allocations: 374.5 kB / 1.395 GB, free: 2.305 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008031/1.622, allocations: 108.5 kB / 1.395 GB, free: 2.203 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.002141/1.624, allocations: 436.1 kB / 1.396 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.625, allocations: 159 kB / 1.396 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.639, allocations: 3.714 MB / 1.4 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/1.639, allocations: 20 kB / 1.4 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.639, allocations: 8 kB / 1.4 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.073e-05/1.64, allocations: 11.95 kB / 1.4 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/1.645, allocations: 2.452 MB / 1.402 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/1.645, allocations: 0 / 1.402 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003998/1.649, allocations: 0.5578 MB / 1.403 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/1.649, allocations: 80.72 kB / 1.403 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000571/1.65, allocations: 75.91 kB / 1.403 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/1.652, allocations: 1.671 MB / 1.404 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.652, allocations: 0 / 1.404 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/1.665, allocations: 3.223 MB / 1.407 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.667, allocations: 0.5499 MB / 1.408 GB, free: 5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008742/1.668, allocations: 51.89 kB / 1.408 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.672, allocations: 266.4 kB / 1.408 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004948/1.672, allocations: 157.7 kB / 1.408 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004125/1.673, allocations: 91.91 kB / 1.409 GB, free: 4.449 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001443/1.674, allocations: 0.6997 MB / 1.409 GB, free: 3.742 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/1.674, allocations: 0 / 1.409 GB, free: 3.742 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00279/1.677, allocations: 0.6857 MB / 1.41 GB, free: 3.055 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.002714/1.68, allocations: 0.6698 MB / 1.411 GB, free: 2.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.692, allocations: 3.17 MB / 1.414 GB, free: 15.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.692, allocations: 4 kB / 1.414 GB, free: 15.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.698, allocations: 1.747 MB / 1.415 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/1.702, allocations: 393.6 kB / 1.416 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.714, allocations: 4.197 MB / 1.42 GB, free: 9.016 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/1.716, allocations: 1.431 MB / 1.421 GB, free: 7.547 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/1.719, allocations: 283.1 kB / 1.422 GB, free: 7.27 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/1.719, allocations: 0 / 1.422 GB, free: 7.27 MB / 1.076 GB Notification: Performance of Templates: time 0.0717/1.79, allocations: 42.43 MB / 1.463 GB, free: 12.88 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/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: 16.247444365988486]