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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_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.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001713/0.001713, allocations: 195 kB / 16.14 MB, free: 6.656 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 60.66 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2829, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008492/0.2915, allocations: 6.891 MB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1594/0.4509, allocations: 149 MB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.4528, allocations: 23.88 kB / 1.204 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4539, allocations: 194.5 kB / 1.205 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.4568, allocations: 0.6853 MB / 1.205 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.4591, allocations: 0.8603 MB / 1.206 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.4614, allocations: 2 MB / 1.208 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.4628, allocations: 0.9907 MB / 1.209 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4638, allocations: 0.7392 MB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008316/0.4646, allocations: 0.8439 MB / 1.21 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.4648, allocations: 112 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4659, allocations: 463.6 kB / 1.211 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.4662, allocations: 390.4 kB / 1.211 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.467, allocations: 0.8704 MB / 1.212 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.4691, allocations: 2.434 MB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4692, allocations: 0 / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4692, allocations: 4 kB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.4692, allocations: 0 / 1.215 GB, free: 1.699 MB / 0.9669 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.004149/0.4734, allocations: 2.046 MB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4734, allocations: 16.03 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.4745, allocations: 250.6 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.4758, allocations: 0.9693 MB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/0.4759, allocations: 115.1 kB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.4761, allocations: 152 kB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.4788, allocations: 1.584 MB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.4788, allocations: 0 / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.4789, allocations: 67.98 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.479, allocations: 36 kB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.4817, allocations: 1.639 MB / 1.221 GB, free: 10.66 MB / 0.9825 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.006721/0.4884, allocations: 4.579 MB / 1.226 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.4905, allocations: 1.18 MB / 1.227 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.4913, allocations: 479.6 kB / 1.227 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.4915, allocations: 52.98 kB / 1.227 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.4928, allocations: 0.7884 MB / 1.228 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=128): time 2.474e-06/0.4928, allocations: 0 / 1.228 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128): time 0.004457/0.4973, allocations: 1.849 MB / 1.23 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4974, allocations: 197.2 kB / 1.23 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.4985, allocations: 0.8693 MB / 1.231 GB, free: 400 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.74e-05/0.4987, allocations: 53.7 kB / 1.231 GB, free: 340 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.4991, allocations: 0.6075 MB / 1.232 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.4995, allocations: 410.2 kB / 1.232 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.4999, allocations: 254.7 kB / 1.232 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5, allocations: 353.9 kB / 1.233 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000869/0.5009, allocations: 446.4 kB / 1.233 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/0.5019, allocations: 0.5649 MB / 1.234 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.5037, allocations: 0.9896 MB / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5037, allocations: 0 / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002922/0.5066, allocations: 1.348 MB / 1.236 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5067, allocations: 4.109 kB / 1.236 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5067, allocations: 7.938 kB / 1.236 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/0.5074, allocations: 84.83 kB / 1.236 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5086, allocations: 263.6 kB / 1.236 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.5107, allocations: 1.546 MB / 1.238 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.5119, allocations: 160.8 kB / 1.238 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.512, allocations: 59.95 kB / 1.238 GB, free: 9.074 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.0006804/0.5127, allocations: 353.5 kB / 1.238 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.513, allocations: 114.6 kB / 1.238 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.5167, allocations: 1.717 MB / 1.24 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.5167, allocations: 12 kB / 1.24 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.5167, allocations: 3.984 kB / 1.24 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5167, allocations: 7.969 kB / 1.24 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.5183, allocations: 1.393 MB / 1.242 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5184, allocations: 7.984 kB / 1.242 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.5193, allocations: 219.6 kB / 1.242 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005447/0.5199, allocations: 84.72 kB / 1.242 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/0.52, allocations: 47.89 kB / 1.242 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.5218, allocations: 1.548 MB / 1.243 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5218, allocations: 0 / 1.243 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.5246, allocations: 1.418 MB / 1.245 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/0.5252, allocations: 371.1 kB / 1.245 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.5254, allocations: 35.89 kB / 1.245 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.5264, allocations: 94.19 kB / 1.245 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.5266, allocations: 117.1 kB / 1.245 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5267, allocations: 55.97 kB / 1.245 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008966/0.5276, allocations: 0.6425 MB / 1.246 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5276, allocations: 0 / 1.246 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001191/0.5288, allocations: 494.6 kB / 1.247 GB, free: 112 kB / 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.5113/1.04, allocations: 0.6107 MB / 1.247 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003059/1.043, allocations: 1.272 MB / 1.248 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.043, allocations: 1.719 kB / 1.248 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.045, allocations: 0.7407 MB / 1.249 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.047, allocations: 322.7 kB / 1.249 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/1.052, allocations: 3.282 MB / 1.253 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/1.052, allocations: 1.234 MB / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001151/1.054, allocations: 338.4 kB / 1.254 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/1.054, allocations: 151.6 kB / 1.254 GB, free: 190 MB / 0.9981 GB Notification: Performance of SimCode: time 1.103e-06/1.054, allocations: 0 / 1.254 GB, free: 190 MB / 0.9981 GB Notification: Performance of Templates: time 0.04554/1.1, allocations: 20.71 MB / 1.274 GB, free: 184.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) 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) Reference file matches