Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 79.91 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 164.6 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.847/2.847, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 3.938 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.895e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006703/0.006732, allocations: 4.526 MB / 1.005 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.7392/0.7459, allocations: 132.9 MB / 1.134 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.7469, allocations: 20 kB / 1.134 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.7475, allocations: 206.2 kB / 1.135 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.7493, allocations: 0.6087 MB / 1.135 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.7511, allocations: 0.8883 MB / 1.136 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.7525, allocations: 1.545 MB / 1.138 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006371/0.7531, allocations: 404 kB / 1.138 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.7542, allocations: 0.792 MB / 1.139 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.7547, allocations: 441.3 kB / 1.139 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.7549, allocations: 129.2 kB / 1.139 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.756, allocations: 0.5032 MB / 1.14 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.7564, allocations: 333 kB / 1.14 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.7569, allocations: 413.6 kB / 1.14 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.7591, allocations: 1.873 MB / 1.142 GB, free: 44.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7591, allocations: 0 / 1.142 GB, free: 44.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7591, allocations: 0.875 kB / 1.142 GB, free: 44.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.7591, allocations: 0 / 1.142 GB, free: 44.98 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002574/0.7617, allocations: 1.491 MB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.7617, allocations: 11.31 kB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.7637, allocations: 267.2 kB / 1.144 GB, free: 44.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.7649, allocations: 0.7425 MB / 1.145 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.765, allocations: 75.56 kB / 1.145 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.7651, allocations: 95 kB / 1.145 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.7668, allocations: 1.248 MB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.7668, allocations: 0 / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.7669, allocations: 42.62 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.7669, allocations: 22.47 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.7685, allocations: 1.119 MB / 1.147 GB, free: 43.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.7724, allocations: 2.321 MB / 1.149 GB, free: 42.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.7739, allocations: 0.8529 MB / 1.15 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.7745, allocations: 323.1 kB / 1.151 GB, free: 42.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.7746, allocations: 31.73 kB / 1.151 GB, free: 42.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008961/0.7754, allocations: 0.6494 MB / 1.151 GB, free: 42.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=98): time 3.867e-06/0.7755, allocations: 5.781 kB / 1.151 GB, free: 42.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=98): time 0.003277/0.7787, allocations: 1.283 MB / 1.153 GB, free: 42.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.7788, allocations: 208.9 kB / 1.153 GB, free: 42.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/0.7796, allocations: 0.6286 MB / 1.153 GB, free: 42 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/0.7797, allocations: 51.7 kB / 1.153 GB, free: 41.97 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.78, allocations: 418.4 kB / 1.154 GB, free: 41.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.7803, allocations: 323.2 kB / 1.154 GB, free: 41.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/0.7806, allocations: 201.9 kB / 1.154 GB, free: 41.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.7808, allocations: 392.3 kB / 1.155 GB, free: 41.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.7814, allocations: 323.5 kB / 1.155 GB, free: 41.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.7821, allocations: 0.545 MB / 1.156 GB, free: 41.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.7834, allocations: 0.7149 MB / 1.156 GB, free: 40.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.7834, allocations: 4.062 kB / 1.156 GB, free: 40.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002311/0.7858, allocations: 1.012 MB / 1.157 GB, free: 40.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.7858, allocations: 7.406 kB / 1.157 GB, free: 40.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.7858, allocations: 0 / 1.157 GB, free: 40.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/0.7864, allocations: 87.72 kB / 1.157 GB, free: 40.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.7872, allocations: 186.6 kB / 1.157 GB, free: 40.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.789, allocations: 1.502 MB / 1.159 GB, free: 39.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.7898, allocations: 106 kB / 1.159 GB, free: 39.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/0.7899, allocations: 43.3 kB / 1.159 GB, free: 39.59 MB / 1.076 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,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,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 (121): * Single equations (assignments): 120 * 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.0004907/0.7904, allocations: 287 kB / 1.159 GB, free: 39.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.7906, allocations: 90.64 kB / 1.159 GB, free: 39.42 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.793, allocations: 1.199 MB / 1.161 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.793, allocations: 11.66 kB / 1.161 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.793, allocations: 2.812 kB / 1.161 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.793, allocations: 6.609 kB / 1.161 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.7963, allocations: 2.037 MB / 1.163 GB, free: 38.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7963, allocations: 2.875 kB / 1.163 GB, free: 38.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.7969, allocations: 162.2 kB / 1.163 GB, free: 38.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.7973, allocations: 76.81 kB / 1.163 GB, free: 38.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.7974, allocations: 35.52 kB / 1.163 GB, free: 38.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.7989, allocations: 1.521 MB / 1.164 GB, free: 37.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7989, allocations: 0.8125 kB / 1.164 GB, free: 37.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.8009, allocations: 1.106 MB / 1.165 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.8012, allocations: 209.7 kB / 1.166 GB, free: 37.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.8014, allocations: 25.77 kB / 1.166 GB, free: 37.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/0.8021, allocations: 72.55 kB / 1.166 GB, free: 37.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.8022, allocations: 89.42 kB / 1.166 GB, free: 37.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.8023, allocations: 41.5 kB / 1.166 GB, free: 37.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005007/0.8028, allocations: 458.1 kB / 1.166 GB, free: 37.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8028, allocations: 0 / 1.166 GB, free: 37.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001209/0.804, allocations: 358.2 kB / 1.167 GB, free: 37.23 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.00227/0.8063, allocations: 0.6585 MB / 1.167 GB, free: 37.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.8084, allocations: 0.9111 MB / 1.168 GB, free: 36.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8084, allocations: 2.281 kB / 1.168 GB, free: 36.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009528/0.8093, allocations: 0.5373 MB / 1.169 GB, free: 36.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8106, allocations: 303.3 kB / 1.169 GB, free: 36.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.8135, allocations: 1.777 MB / 1.171 GB, free: 36.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.814, allocations: 465.2 kB / 1.171 GB, free: 35.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008132/0.8148, allocations: 280.2 kB / 1.171 GB, free: 35.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.8151, allocations: 122.7 kB / 1.172 GB, free: 35.9 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.8151, allocations: 0 / 1.172 GB, free: 35.9 MB / 1.076 GB Notification: Performance of Templates: time 0.03284/0.848, allocations: 16.61 MB / 1.188 GB, free: 34.08 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.687281806021929]