Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.001394/0.001394, allocations: 110.2 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.001647/0.001647, allocations: 192 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.434/1.434, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 496 MB / 0.7835 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 64.52 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009228/0.3572, allocations: 6.987 MB / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1788/0.536, allocations: 151.9 MB / 1.462 GB, free: 2.359 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009373/0.5369, allocations: 23.88 kB / 1.462 GB, free: 2.336 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000737/0.5376, allocations: 273.4 kB / 1.463 GB, free: 2.066 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.54, allocations: 0.8062 MB / 1.463 GB, free: 1.262 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.5424, allocations: 1.016 MB / 1.464 GB, free: 256 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.5451, allocations: 2.148 MB / 1.467 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.5463, allocations: 0.7067 MB / 1.467 GB, free: 13.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.5475, allocations: 0.876 MB / 1.468 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.5487, allocations: 0.9102 MB / 1.469 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.549, allocations: 208 kB / 1.469 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.5501, allocations: 0.5661 MB / 1.47 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004854/0.5506, allocations: 490.4 kB / 1.47 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.5517, allocations: 0.9486 MB / 1.471 GB, free: 9.34 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.555, allocations: 2.584 MB / 1.474 GB, free: 6.746 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.555, allocations: 0 / 1.474 GB, free: 6.746 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.352e-06/0.555, allocations: 0 / 1.474 GB, free: 6.746 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.111e-05/0.555, allocations: 0 / 1.474 GB, free: 6.746 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004191/0.5592, allocations: 2.031 MB / 1.476 GB, free: 4.668 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5592, allocations: 12.92 kB / 1.476 GB, free: 4.656 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5603, allocations: 263.6 kB / 1.476 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.562, allocations: 0.933 MB / 1.477 GB, free: 3.434 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5621, allocations: 119.1 kB / 1.477 GB, free: 3.316 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5623, allocations: 152 kB / 1.477 GB, free: 3.168 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.5652, allocations: 1.572 MB / 1.479 GB, free: 1.539 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.5652, allocations: 7.938 kB / 1.479 GB, free: 1.531 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.5653, allocations: 64 kB / 1.479 GB, free: 1.469 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.5654, allocations: 43.98 kB / 1.479 GB, free: 1.426 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.5683, allocations: 1.639 MB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00775/0.5761, allocations: 4.703 MB / 1.485 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.5784, allocations: 1.112 MB / 1.486 GB, free: 9.719 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009204/0.5793, allocations: 435.6 kB / 1.486 GB, free: 9.289 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.5794, allocations: 53.19 kB / 1.486 GB, free: 9.238 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.5809, allocations: 0.7862 MB / 1.487 GB, free: 8.434 MB / 1.186 GB Notification: Performance of pre-optimization done (n=128): time 2.765e-06/0.5809, allocations: 0 / 1.487 GB, free: 8.434 MB / 1.186 GB Notification: Performance of matching and sorting (n=128): time 0.004745/0.5857, allocations: 1.767 MB / 1.489 GB, free: 6.66 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.5858, allocations: 197.2 kB / 1.489 GB, free: 6.426 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.5873, allocations: 0.8692 MB / 1.49 GB, free: 5.531 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.5874, allocations: 53.7 kB / 1.49 GB, free: 5.473 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006455/0.5881, allocations: 0.6185 MB / 1.491 GB, free: 4.844 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.5885, allocations: 432.4 kB / 1.491 GB, free: 4.418 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.5889, allocations: 250.8 kB / 1.491 GB, free: 4.164 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.5891, allocations: 353.9 kB / 1.492 GB, free: 3.812 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.5901, allocations: 450.4 kB / 1.492 GB, free: 3.375 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.5911, allocations: 0.5687 MB / 1.493 GB, free: 2.789 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.5931, allocations: 0.9935 MB / 1.494 GB, free: 1.789 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5931, allocations: 0 / 1.494 GB, free: 1.789 MB / 1.186 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00331/0.5965, allocations: 1.348 MB / 1.495 GB, free: 440 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.5965, allocations: 4.938 kB / 1.495 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5965, allocations: 4 kB / 1.495 GB, free: 432 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.5971, allocations: 80.84 kB / 1.495 GB, free: 348 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.5983, allocations: 271.5 kB / 1.495 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.6008, allocations: 1.546 MB / 1.497 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.6022, allocations: 148.1 kB / 1.497 GB, free: 14.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.6023, allocations: 64 kB / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0008645/0.6032, allocations: 349.7 kB / 1.497 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.6035, allocations: 123.2 kB / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.6075, allocations: 1.706 MB / 1.499 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6075, allocations: 16 kB / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6075, allocations: 0 / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.6076, allocations: 7.969 kB / 1.499 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.6097, allocations: 1.384 MB / 1.5 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.6097, allocations: 0 / 1.5 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.6106, allocations: 215.6 kB / 1.501 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/0.6111, allocations: 80.72 kB / 1.501 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.6112, allocations: 35.97 kB / 1.501 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.6135, allocations: 1.571 MB / 1.502 GB, free: 8.531 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6135, allocations: 0 / 1.502 GB, free: 8.531 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.6169, allocations: 1.422 MB / 1.504 GB, free: 7.09 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.6176, allocations: 302.6 kB / 1.504 GB, free: 6.793 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.6178, allocations: 39.89 kB / 1.504 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.6188, allocations: 85.62 kB / 1.504 GB, free: 6.672 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.619, allocations: 117.1 kB / 1.504 GB, free: 6.555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.6192, allocations: 55.95 kB / 1.504 GB, free: 6.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001064/0.6202, allocations: 0.6425 MB / 1.505 GB, free: 5.848 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6202, allocations: 0 / 1.505 GB, free: 5.848 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001337/0.6216, allocations: 498.8 kB / 1.505 GB, free: 5.359 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002087/0.6237, allocations: 0.6344 MB / 1.506 GB, free: 4.902 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002883/0.6265, allocations: 1.22 MB / 1.507 GB, free: 3.668 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6265, allocations: 0 / 1.507 GB, free: 3.668 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.628, allocations: 0.6895 MB / 1.508 GB, free: 2.969 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.6295, allocations: 366.5 kB / 1.508 GB, free: 2.637 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/0.6344, allocations: 2.595 MB / 1.511 GB, free: 4 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.6354, allocations: 1.24 MB / 1.512 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001175/0.6366, allocations: 334.1 kB / 1.512 GB, free: 14.4 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.6371, allocations: 159.3 kB / 1.512 GB, free: 14.25 MB / 1.217 GB Notification: Performance of SimCode: time 9.72e-07/0.6371, allocations: 0 / 1.512 GB, free: 14.25 MB / 1.217 GB Notification: Performance of Templates: time 0.04202/0.6791, allocations: 22.86 MB / 1.535 GB, free: 7.578 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.079958513379097]