Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 109.3 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.133, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007076/1.14, allocations: 5.449 MB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2082/1.349, allocations: 151.1 MB / 1.241 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/1.351, allocations: 21.62 kB / 1.241 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/1.353, allocations: 220.2 kB / 1.242 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004791/1.358, allocations: 0.6803 MB / 1.242 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004417/1.362, allocations: 0.9955 MB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004201/1.366, allocations: 1.891 MB / 1.245 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/1.369, allocations: 1.077 MB / 1.246 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/1.371, allocations: 0.8123 MB / 1.247 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/1.373, allocations: 0.8634 MB / 1.248 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008925/1.374, allocations: 208 kB / 1.248 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/1.376, allocations: 0.566 MB / 1.249 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009175/1.377, allocations: 490.4 kB / 1.249 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001947/1.379, allocations: 0.9017 MB / 1.25 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003955/1.383, allocations: 2.49 MB / 1.252 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.383, allocations: 0 / 1.252 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/1.383, allocations: 0 / 1.252 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.866e-05/1.383, allocations: 0 / 1.252 GB, free: 5.969 MB / 0.9825 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.004058/1.387, allocations: 2.023 MB / 1.254 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.387, allocations: 12.03 kB / 1.254 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.388, allocations: 254.6 kB / 1.255 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.39, allocations: 0.9966 MB / 1.256 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/1.39, allocations: 119.1 kB / 1.256 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/1.39, allocations: 152 kB / 1.256 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/1.393, allocations: 1.58 MB / 1.257 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.393, allocations: 4 kB / 1.257 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.393, allocations: 60 kB / 1.257 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/1.393, allocations: 40 kB / 1.258 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/1.396, allocations: 1.631 MB / 1.259 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006788/1.402, allocations: 4.083 MB / 1.263 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/1.405, allocations: 1.188 MB / 1.264 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/1.405, allocations: 475.6 kB / 1.265 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/1.405, allocations: 57.06 kB / 1.265 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/1.407, allocations: 0.7783 MB / 1.266 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 2.725e-06/1.407, allocations: 0 / 1.266 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.00421/1.411, allocations: 1.838 MB / 1.267 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.411, allocations: 193.2 kB / 1.268 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/1.412, allocations: 0.8691 MB / 1.268 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/1.412, allocations: 45.7 kB / 1.268 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/1.413, allocations: 0.6093 MB / 1.269 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/1.413, allocations: 410.1 kB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/1.414, allocations: 258.7 kB / 1.27 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.414, allocations: 357.9 kB / 1.27 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/1.415, allocations: 442.4 kB / 1.27 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/1.416, allocations: 0.5648 MB / 1.271 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/1.417, allocations: 0.978 MB / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.417, allocations: 0 / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002767/1.42, allocations: 1.336 MB / 1.273 GB, free: 232 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.42, allocations: 8 kB / 1.273 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.42, allocations: 0 / 1.273 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/1.421, allocations: 88.89 kB / 1.273 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.422, allocations: 267.6 kB / 1.274 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/1.424, allocations: 1.653 MB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.425, allocations: 146.9 kB / 1.275 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.425, allocations: 55.95 kB / 1.275 GB, free: 13.87 MB / 1.014 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.0007218/1.426, allocations: 349.5 kB / 1.276 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/1.426, allocations: 122.5 kB / 1.276 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/1.43, allocations: 1.709 MB / 1.277 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.43, allocations: 12.11 kB / 1.277 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.43, allocations: 3.938 kB / 1.277 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.43, allocations: 7.969 kB / 1.277 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/1.432, allocations: 1.4 MB / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.432, allocations: 0 / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/1.433, allocations: 227.6 kB / 1.279 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/1.433, allocations: 72.8 kB / 1.279 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/1.433, allocations: 43.95 kB / 1.279 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.435, allocations: 1.677 MB / 1.281 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.435, allocations: 0 / 1.281 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/1.438, allocations: 1.406 MB / 1.282 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005927/1.439, allocations: 375 kB / 1.283 GB, free: 6.227 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.439, allocations: 31.91 kB / 1.283 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/1.44, allocations: 94.41 kB / 1.283 GB, free: 6.105 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/1.44, allocations: 105.2 kB / 1.283 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.44, allocations: 59.89 kB / 1.283 GB, free: 5.941 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008972/1.441, allocations: 0.6425 MB / 1.283 GB, free: 5.289 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.441, allocations: 0 / 1.283 GB, free: 5.289 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00121/1.442, allocations: 470.6 kB / 1.284 GB, free: 4.828 MB / 1.014 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.001462/1.444, allocations: 0.6122 MB / 1.285 GB, free: 4.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002426/1.446, allocations: 1.271 MB / 1.286 GB, free: 3.098 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.446, allocations: 0 / 1.286 GB, free: 3.098 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.447, allocations: 0.7323 MB / 1.286 GB, free: 2.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.449, allocations: 328.9 kB / 1.287 GB, free: 2.051 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/1.454, allocations: 2.705 MB / 1.289 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/1.455, allocations: 1.236 MB / 1.291 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/1.456, allocations: 171.3 kB / 1.291 GB, free: 13.87 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/1.456, allocations: 7.938 kB / 1.291 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Templates: time 0.038/1.494, allocations: 27.55 MB / 1.318 GB, free: 2.395 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches