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.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.00129/0.00129, allocations: 113.9 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.001513/0.001513, allocations: 188.3 kB / 22.23 MB, free: 5.098 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.433/1.433, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.118/3.118, allocations: 495.6 MB / 0.7831 GB, free: 33.52 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-master/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_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 0.002057/0.002057, allocations: 70.64 kB / 1.137 GB, free: 34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3962, allocations: 173.6 MB / 1.307 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.008471/0.4047, allocations: 5.034 MB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2022/0.6069, allocations: 151.4 MB / 1.46 GB, free: 4.879 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.608, allocations: 27.75 kB / 1.46 GB, free: 4.852 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.6088, allocations: 194.2 kB / 1.46 GB, free: 4.66 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.6109, allocations: 0.5822 MB / 1.46 GB, free: 4.078 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.6133, allocations: 0.8679 MB / 1.461 GB, free: 3.215 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.6154, allocations: 1.46 MB / 1.463 GB, free: 1.75 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.6162, allocations: 425.9 kB / 1.463 GB, free: 1.305 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.6171, allocations: 0.5217 MB / 1.464 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007375/0.6179, allocations: 0.5407 MB / 1.464 GB, free: 244 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.6181, allocations: 120 kB / 1.464 GB, free: 124 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.6193, allocations: 495.6 kB / 1.465 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.6196, allocations: 311 kB / 1.465 GB, free: 15.33 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006475/0.6202, allocations: 0.5791 MB / 1.466 GB, free: 14.75 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.6228, allocations: 1.693 MB / 1.467 GB, free: 13.05 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6228, allocations: 0 / 1.467 GB, free: 13.05 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6228, allocations: 0 / 1.467 GB, free: 13.05 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.6228, allocations: 0 / 1.467 GB, free: 13.05 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.003092/0.6259, allocations: 1.445 MB / 1.469 GB, free: 11.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6259, allocations: 12.03 kB / 1.469 GB, free: 11.56 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.627, allocations: 196 kB / 1.469 GB, free: 11.37 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.6283, allocations: 0.7143 MB / 1.47 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.6284, allocations: 66 kB / 1.47 GB, free: 10.56 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.6285, allocations: 80 kB / 1.47 GB, free: 10.48 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.6304, allocations: 0.9691 MB / 1.471 GB, free: 9.477 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.6305, allocations: 3.938 kB / 1.471 GB, free: 9.473 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/0.6306, allocations: 40 kB / 1.471 GB, free: 9.434 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.6306, allocations: 24 kB / 1.471 GB, free: 9.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.6326, allocations: 1.155 MB / 1.472 GB, free: 8.254 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/0.6376, allocations: 2.856 MB / 1.475 GB, free: 5.273 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.6393, allocations: 0.793 MB / 1.475 GB, free: 4.473 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.6399, allocations: 298.7 kB / 1.476 GB, free: 4.176 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.64, allocations: 40.61 kB / 1.476 GB, free: 4.137 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.641, allocations: 0.537 MB / 1.476 GB, free: 3.582 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.544e-06/0.641, allocations: 0 / 1.476 GB, free: 3.582 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003714/0.6448, allocations: 1.219 MB / 1.478 GB, free: 2.355 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.6449, allocations: 196.9 kB / 1.478 GB, free: 2.121 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009682/0.6459, allocations: 0.6566 MB / 1.478 GB, free: 1.453 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.098e-05/0.6459, allocations: 49.64 kB / 1.478 GB, free: 1.398 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.6463, allocations: 413.1 kB / 1.479 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.6466, allocations: 297.5 kB / 1.479 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.6469, allocations: 182.5 kB / 1.479 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.6472, allocations: 390.8 kB / 1.48 GB, free: 120 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.6478, allocations: 285.8 kB / 1.48 GB, free: 15.84 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/0.6486, allocations: 395.1 kB / 1.48 GB, free: 15.44 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.65, allocations: 0.6555 MB / 1.481 GB, free: 14.77 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.65, allocations: 4 kB / 1.481 GB, free: 14.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00255/0.6525, allocations: 0.9233 MB / 1.482 GB, free: 13.84 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.6525, allocations: 9.969 kB / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6526, allocations: 0 / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007577/0.6533, allocations: 84.83 kB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.6541, allocations: 179.8 kB / 1.482 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.6567, allocations: 1.53 MB / 1.484 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000957/0.6576, allocations: 99.45 kB / 1.484 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.6577, allocations: 43.91 kB / 1.484 GB, free: 11.78 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.0005851/0.6583, allocations: 275.8 kB / 1.484 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.6585, allocations: 95.42 kB / 1.484 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.6614, allocations: 1.16 MB / 1.485 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6614, allocations: 8 kB / 1.485 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6614, allocations: 0 / 1.485 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.6614, allocations: 7.969 kB / 1.485 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.6628, allocations: 0.9104 MB / 1.486 GB, free: 9.258 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6628, allocations: 0 / 1.486 GB, free: 9.258 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.6635, allocations: 171.7 kB / 1.486 GB, free: 9.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.6639, allocations: 64.8 kB / 1.486 GB, free: 9.023 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.324e-05/0.664, allocations: 39.91 kB / 1.486 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.6662, allocations: 1.555 MB / 1.488 GB, free: 7.309 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6662, allocations: 0 / 1.488 GB, free: 7.309 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.6686, allocations: 0.9986 MB / 1.489 GB, free: 6.285 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.6691, allocations: 215 kB / 1.489 GB, free: 6.074 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6693, allocations: 24 kB / 1.489 GB, free: 6.051 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/0.67, allocations: 67.86 kB / 1.489 GB, free: 5.984 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.6702, allocations: 80.84 kB / 1.489 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/0.6703, allocations: 35.97 kB / 1.489 GB, free: 5.871 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006912/0.671, allocations: 487 kB / 1.49 GB, free: 5.398 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.671, allocations: 0 / 1.49 GB, free: 5.398 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009994/0.672, allocations: 343.2 kB / 1.49 GB, free: 5.062 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.002107/0.6741, allocations: 0.6081 MB / 1.491 GB, free: 4.625 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.6762, allocations: 0.8586 MB / 1.491 GB, free: 3.754 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6762, allocations: 0 / 1.491 GB, free: 3.754 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6773, allocations: 0.5119 MB / 1.492 GB, free: 3.234 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.6787, allocations: 314.9 kB / 1.492 GB, free: 2.953 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.6821, allocations: 1.758 MB / 1.494 GB, free: 1.168 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.6828, allocations: 1.04 MB / 1.495 GB, free: 100 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009022/0.6837, allocations: 279.1 kB / 1.495 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.684, allocations: 119.4 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of SimCode: time 9.52e-07/0.684, allocations: 0 / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of Templates: time 0.03254/0.7165, allocations: 16.67 MB / 1.512 GB, free: 15.2 MB / 1.217 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: 10.150871220976114]