Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001884/0.001884, allocations: 113 kB / 17.6 MB, free: 4.684 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.002434/0.002434, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.437/1.437, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002992/0.002992, allocations: 63.89 kB / 1.136 GB, free: 12.52 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.038, allocations: 173.7 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006945/1.045, allocations: 6.99 MB / 1.312 GB, free: 28.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2155/1.26, allocations: 151.8 MB / 1.461 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/1.262, allocations: 17.47 kB / 1.461 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/1.264, allocations: 259.1 kB / 1.461 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004189/1.268, allocations: 0.8196 MB / 1.462 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/1.272, allocations: 1.005 MB / 1.463 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004373/1.276, allocations: 2.157 MB / 1.465 GB, free: 11.63 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/1.278, allocations: 0.7058 MB / 1.465 GB, free: 11.18 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/1.28, allocations: 0.8426 MB / 1.466 GB, free: 10.76 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/1.283, allocations: 0.9099 MB / 1.467 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/1.284, allocations: 216.7 kB / 1.467 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/1.286, allocations: 0.5665 MB / 1.468 GB, free: 10.14 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/1.288, allocations: 490.4 kB / 1.468 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003007/1.291, allocations: 0.9424 MB / 1.469 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006538/1.297, allocations: 2.578 MB / 1.472 GB, free: 7.695 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.297, allocations: 5 kB / 1.472 GB, free: 7.691 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/1.297, allocations: 4 kB / 1.472 GB, free: 7.688 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001255/1.297, allocations: 0 / 1.472 GB, free: 7.688 MB / 1.154 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.007267/1.305, allocations: 2.109 MB / 1.474 GB, free: 6.066 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.305, allocations: 17.23 kB / 1.474 GB, free: 6.059 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/1.306, allocations: 263.5 kB / 1.474 GB, free: 5.93 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/1.309, allocations: 1 MB / 1.475 GB, free: 5.117 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/1.309, allocations: 118.4 kB / 1.475 GB, free: 5.062 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/1.31, allocations: 151.2 kB / 1.475 GB, free: 5.012 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/1.314, allocations: 1.58 MB / 1.477 GB, free: 4.027 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/1.314, allocations: 4 kB / 1.477 GB, free: 4.023 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.315, allocations: 62.41 kB / 1.477 GB, free: 3.977 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/1.315, allocations: 37.47 kB / 1.477 GB, free: 3.977 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/1.318, allocations: 1.636 MB / 1.479 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009956/1.328, allocations: 4.771 MB / 1.483 GB, free: 15.28 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/1.33, allocations: 1.126 MB / 1.484 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009068/1.331, allocations: 433.1 kB / 1.485 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/1.331, allocations: 48.88 kB / 1.485 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/1.333, allocations: 0.7854 MB / 1.486 GB, free: 13.95 MB / 1.17 GB Notification: Performance of pre-optimization done (n=128): time 6.943e-06/1.333, allocations: 0 / 1.486 GB, free: 13.95 MB / 1.17 GB Notification: Performance of matching and sorting (n=128): time 0.005114/1.338, allocations: 1.846 MB / 1.487 GB, free: 12.98 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.338, allocations: 199.4 kB / 1.488 GB, free: 12.75 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/1.34, allocations: 0.8622 MB / 1.488 GB, free: 12.25 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.34, allocations: 58.03 kB / 1.488 GB, free: 12.2 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/1.341, allocations: 0.6129 MB / 1.489 GB, free: 11.65 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/1.341, allocations: 431.8 kB / 1.489 GB, free: 11.28 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/1.342, allocations: 259.9 kB / 1.49 GB, free: 11.12 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.342, allocations: 353.6 kB / 1.49 GB, free: 10.78 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009742/1.343, allocations: 454.7 kB / 1.49 GB, free: 10.45 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.344, allocations: 0.5571 MB / 1.491 GB, free: 9.875 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/1.346, allocations: 0.9896 MB / 1.492 GB, free: 8.875 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.346, allocations: 0 / 1.492 GB, free: 8.875 MB / 1.17 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003321/1.349, allocations: 1.352 MB / 1.493 GB, free: 7.512 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.35, allocations: 7.938 kB / 1.493 GB, free: 7.504 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.35, allocations: 0 / 1.493 GB, free: 7.504 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/1.35, allocations: 88.89 kB / 1.493 GB, free: 7.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.351, allocations: 267.6 kB / 1.494 GB, free: 7.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/1.354, allocations: 1.655 MB / 1.495 GB, free: 5.352 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.355, allocations: 159.1 kB / 1.495 GB, free: 5.195 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.355, allocations: 55.95 kB / 1.495 GB, free: 5.141 MB / 1.17 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.0008757/1.356, allocations: 349.5 kB / 1.496 GB, free: 4.789 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/1.357, allocations: 127.2 kB / 1.496 GB, free: 4.664 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/1.361, allocations: 1.706 MB / 1.498 GB, free: 2.941 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.361, allocations: 12 kB / 1.498 GB, free: 2.93 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.361, allocations: 0 / 1.498 GB, free: 2.93 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.361, allocations: 7.969 kB / 1.498 GB, free: 2.922 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/1.363, allocations: 1.401 MB / 1.499 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.363, allocations: 3.984 kB / 1.499 GB, free: 1.465 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/1.364, allocations: 219.6 kB / 1.499 GB, free: 1.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/1.365, allocations: 80.77 kB / 1.499 GB, free: 1.168 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.365, allocations: 35.97 kB / 1.499 GB, free: 1.133 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.367, allocations: 1.674 MB / 1.501 GB, free: 15.31 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.367, allocations: 3.938 kB / 1.501 GB, free: 15.31 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/1.37, allocations: 1.418 MB / 1.502 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/1.371, allocations: 379.8 kB / 1.503 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/1.371, allocations: 35.89 kB / 1.503 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.373, allocations: 83.91 kB / 1.503 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/1.373, allocations: 113.2 kB / 1.503 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.373, allocations: 55.95 kB / 1.503 GB, free: 13.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001194/1.374, allocations: 0.6425 MB / 1.504 GB, free: 12.54 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/1.374, allocations: 0 / 1.504 GB, free: 12.54 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001664/1.376, allocations: 498.8 kB / 1.504 GB, free: 12.05 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: 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.002171/1.378, allocations: 0.6257 MB / 1.505 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002881/1.381, allocations: 1.216 MB / 1.506 GB, free: 10.37 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.381, allocations: 4 kB / 1.506 GB, free: 10.37 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/1.382, allocations: 0.6815 MB / 1.507 GB, free: 9.676 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.384, allocations: 363.8 kB / 1.507 GB, free: 9.344 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/1.389, allocations: 2.614 MB / 1.509 GB, free: 6.695 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/1.39, allocations: 1.232 MB / 1.511 GB, free: 5.43 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001274/1.391, allocations: 330.2 kB / 1.511 GB, free: 5.105 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/1.392, allocations: 155.3 kB / 1.511 GB, free: 4.953 MB / 1.186 GB Notification: Performance of SimCode: time 1.242e-06/1.392, allocations: 4 kB / 1.511 GB, free: 4.949 MB / 1.186 GB Notification: Performance of Templates: time 0.05046/1.442, allocations: 22.51 MB / 1.533 GB, free: 14.61 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.408036733046174]