Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.001806/0.001806, allocations: 112.7 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.001427/0.001427, allocations: 190.3 kB / 22.22 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.439/1.439, 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.25/3.25, allocations: 496 MB / 0.7834 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] 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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 64.98 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3648, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.008053/0.3729, allocations: 5.048 MB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.194/0.5669, allocations: 151.4 MB / 1.46 GB, free: 4.809 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.5681, allocations: 23.81 kB / 1.46 GB, free: 4.785 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009143/0.569, allocations: 202.2 kB / 1.46 GB, free: 4.586 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.5717, allocations: 0.5864 MB / 1.461 GB, free: 4 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.5741, allocations: 0.8703 MB / 1.462 GB, free: 3.137 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.5764, allocations: 1.46 MB / 1.463 GB, free: 1.672 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008592/0.5773, allocations: 422 kB / 1.463 GB, free: 1.23 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008717/0.5781, allocations: 0.5294 MB / 1.464 GB, free: 0.6992 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007053/0.5788, allocations: 0.5407 MB / 1.465 GB, free: 160 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.579, allocations: 124 kB / 1.465 GB, free: 36 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.58, allocations: 495.5 kB / 1.465 GB, free: 15.55 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.5804, allocations: 307 kB / 1.465 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005728/0.5809, allocations: 0.583 MB / 1.466 GB, free: 14.66 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.5832, allocations: 1.693 MB / 1.468 GB, free: 12.96 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5832, allocations: 4 kB / 1.468 GB, free: 12.96 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5832, allocations: 0 / 1.468 GB, free: 12.96 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.5832, allocations: 0 / 1.468 GB, free: 12.96 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002815/0.5861, allocations: 1.441 MB / 1.469 GB, free: 11.49 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5861, allocations: 8.031 kB / 1.469 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009204/0.587, allocations: 196 kB / 1.469 GB, free: 11.29 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5882, allocations: 0.7182 MB / 1.47 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.5883, allocations: 70 kB / 1.47 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.5884, allocations: 84 kB / 1.47 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.5902, allocations: 0.9652 MB / 1.471 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.5902, allocations: 3.938 kB / 1.471 GB, free: 9.383 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.5903, allocations: 36 kB / 1.471 GB, free: 9.348 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.5903, allocations: 24 kB / 1.471 GB, free: 9.324 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.5923, allocations: 1.155 MB / 1.472 GB, free: 8.168 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/0.5971, allocations: 2.849 MB / 1.475 GB, free: 5.191 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.5988, allocations: 0.8008 MB / 1.476 GB, free: 4.383 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.5994, allocations: 302.6 kB / 1.476 GB, free: 4.082 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/0.5995, allocations: 36.67 kB / 1.476 GB, free: 4.047 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009979/0.6005, allocations: 0.5253 MB / 1.477 GB, free: 3.504 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.6005, allocations: 0 / 1.477 GB, free: 3.504 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.00357/0.604, allocations: 1.223 MB / 1.478 GB, free: 2.273 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.6042, allocations: 200.9 kB / 1.478 GB, free: 2.035 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.6051, allocations: 0.6527 MB / 1.479 GB, free: 1.371 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/0.6052, allocations: 45.7 kB / 1.479 GB, free: 1.32 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.6055, allocations: 417.1 kB / 1.479 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.6058, allocations: 297.5 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.6061, allocations: 178.6 kB / 1.48 GB, free: 440 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.6063, allocations: 390.7 kB / 1.48 GB, free: 40 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.6069, allocations: 293.8 kB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.6076, allocations: 391.1 kB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.6089, allocations: 0.6594 MB / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6089, allocations: 0 / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002285/0.6112, allocations: 0.9195 MB / 1.482 GB, free: 13.76 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6112, allocations: 15.88 kB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.6113, allocations: 0 / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.6119, allocations: 88.77 kB / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.6126, allocations: 171.8 kB / 1.482 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.615, allocations: 1.531 MB / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/0.6158, allocations: 101.4 kB / 1.484 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.6159, allocations: 43.91 kB / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0005395/0.6165, allocations: 275.5 kB / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.6167, allocations: 91.44 kB / 1.484 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.6194, allocations: 1.164 MB / 1.485 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.6195, allocations: 11.98 kB / 1.486 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6195, allocations: 4 kB / 1.486 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.6195, allocations: 3.984 kB / 1.486 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.6208, allocations: 0.9181 MB / 1.486 GB, free: 9.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6208, allocations: 0 / 1.486 GB, free: 9.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.6214, allocations: 159.7 kB / 1.487 GB, free: 9.004 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.6219, allocations: 68.8 kB / 1.487 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.622, allocations: 31.91 kB / 1.487 GB, free: 8.902 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.6241, allocations: 1.552 MB / 1.488 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6241, allocations: 3.984 kB / 1.488 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.6266, allocations: 0.9908 MB / 1.489 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.6271, allocations: 219 kB / 1.489 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6273, allocations: 24 kB / 1.489 GB, free: 5.973 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.628, allocations: 67.86 kB / 1.489 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.6282, allocations: 84.84 kB / 1.49 GB, free: 5.824 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.6282, allocations: 35.98 kB / 1.49 GB, free: 5.789 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006837/0.6289, allocations: 475 kB / 1.49 GB, free: 5.328 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6289, allocations: 4 kB / 1.49 GB, free: 5.324 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00103/0.63, allocations: 339.2 kB / 1.49 GB, free: 4.992 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002104/0.6321, allocations: 0.619 MB / 1.491 GB, free: 4.547 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.6342, allocations: 0.8546 MB / 1.492 GB, free: 3.68 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6342, allocations: 0 / 1.492 GB, free: 3.68 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6352, allocations: 0.5237 MB / 1.492 GB, free: 3.148 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.6365, allocations: 312.9 kB / 1.493 GB, free: 2.867 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.6402, allocations: 1.751 MB / 1.494 GB, free: 1.09 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007714/0.641, allocations: 1.04 MB / 1.495 GB, free: 20 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001016/0.642, allocations: 271.1 kB / 1.496 GB, free: 15.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.6423, allocations: 123.3 kB / 1.496 GB, free: 15.63 MB / 1.201 GB Notification: Performance of SimCode: time 1.763e-06/0.6423, allocations: 4 kB / 1.496 GB, free: 15.62 MB / 1.201 GB Notification: Performance of Templates: time 0.03085/0.6732, allocations: 16.68 MB / 1.512 GB, free: 15.12 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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: 9.955324153415859]