Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001386/0.001386, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001349/0.00135, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.742 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 69.61 kB / 0.908 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 159.1 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009043/0.3316, allocations: 6.885 MB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.5086, allocations: 149 MB / 1.216 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.5098, allocations: 19.94 kB / 1.216 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.5106, allocations: 198.3 kB / 1.216 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.5131, allocations: 0.7087 MB / 1.217 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.5154, allocations: 0.897 MB / 1.218 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00277/0.5182, allocations: 2.125 MB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.5197, allocations: 1.018 MB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.521, allocations: 0.8446 MB / 1.221 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.5221, allocations: 0.8987 MB / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000274/0.5224, allocations: 208 kB / 1.222 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.5235, allocations: 0.5426 MB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.5239, allocations: 486.4 kB / 1.223 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009313/0.5249, allocations: 0.9563 MB / 1.224 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.5278, allocations: 2.512 MB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5278, allocations: 3.938 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5278, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.327e-05/0.5279, allocations: 0 / 1.227 GB, free: 6.641 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.004391/0.5323, allocations: 2.054 MB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5323, allocations: 12.03 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5334, allocations: 250.6 kB / 1.229 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.5349, allocations: 0.9732 MB / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.535, allocations: 111.1 kB / 1.23 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.5352, allocations: 152 kB / 1.23 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.5381, allocations: 1.584 MB / 1.232 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.5382, allocations: 3.984 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.5383, allocations: 64 kB / 1.232 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.5384, allocations: 36 kB / 1.232 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.5412, allocations: 1.643 MB / 1.234 GB, free: 15.6 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007634/0.5488, allocations: 4.579 MB / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.5511, allocations: 1.18 MB / 1.239 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008242/0.5519, allocations: 479.7 kB / 1.24 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.552, allocations: 48.98 kB / 1.24 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.5535, allocations: 0.7836 MB / 1.24 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.136e-06/0.5535, allocations: 0 / 1.24 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004975/0.5585, allocations: 1.846 MB / 1.242 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.5587, allocations: 205.2 kB / 1.242 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.5603, allocations: 0.8654 MB / 1.243 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.5605, allocations: 53.7 kB / 1.243 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/0.5611, allocations: 0.6092 MB / 1.244 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.5615, allocations: 410.2 kB / 1.244 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.562, allocations: 258.6 kB / 1.245 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5622, allocations: 353.9 kB / 1.245 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.5631, allocations: 454.4 kB / 1.245 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.5641, allocations: 0.5571 MB / 1.246 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.566, allocations: 0.9935 MB / 1.247 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.566, allocations: 0 / 1.247 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00316/0.5692, allocations: 1.344 MB / 1.248 GB, free: 268 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.5692, allocations: 4 kB / 1.248 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5692, allocations: 4 kB / 1.248 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/0.5699, allocations: 84.83 kB / 1.248 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.537/1.107, allocations: 260 kB / 1.249 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/1.109, allocations: 1.651 MB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.111, allocations: 160.3 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.111, allocations: 58.2 kB / 1.25 GB, free: 183.8 MB / 0.9981 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.0008975/1.112, allocations: 353 kB / 1.251 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/1.112, allocations: 119.4 kB / 1.251 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/1.117, allocations: 1.71 MB / 1.252 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.117, allocations: 13.97 kB / 1.252 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.117, allocations: 1.625 kB / 1.252 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/1.117, allocations: 8.344 kB / 1.252 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/1.119, allocations: 1.398 MB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.119, allocations: 3.344 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/1.12, allocations: 216.6 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/1.12, allocations: 83.56 kB / 1.254 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/1.12, allocations: 36.8 kB / 1.254 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/1.122, allocations: 1.674 MB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.122, allocations: 3.828 kB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/1.125, allocations: 1.417 MB / 1.257 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/1.125, allocations: 370.6 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.125, allocations: 42.45 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008989/1.126, allocations: 91.08 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.127, allocations: 113.5 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.572e-05/1.127, allocations: 55.75 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007422/1.127, allocations: 0.6473 MB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.127, allocations: 2.906 kB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001105/1.129, allocations: 493.2 kB / 1.259 GB, free: 181.5 MB / 0.9981 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.001843/1.13, allocations: 0.6189 MB / 1.26 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003701/1.134, allocations: 1.587 MB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.134, allocations: 0 / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/1.135, allocations: 0.7458 MB / 1.262 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.137, allocations: 362.9 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/1.141, allocations: 3.274 MB / 1.265 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/1.141, allocations: 1.24 MB / 1.267 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001266/1.143, allocations: 331.7 kB / 1.267 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/1.143, allocations: 160.4 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.143, allocations: 0 / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03955/1.183, allocations: 21.55 MB / 1.288 GB, free: 171.8 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches