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) 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 12.0.0-master/package.mo", uses=false) 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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001669/0.001669, allocations: 191 kB / 16.25 MB, free: 6.637 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.7 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.69 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2986, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006406/0.3051, allocations: 4.976 MB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.4631, allocations: 148.6 MB / 1.218 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009323/0.464, allocations: 15.94 kB / 1.218 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.4648, allocations: 150.8 kB / 1.218 GB, free: 440 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.4678, allocations: 0.5079 MB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.4702, allocations: 0.7531 MB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.472, allocations: 1.444 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.4731, allocations: 0.5871 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.4741, allocations: 0.5099 MB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007386/0.4748, allocations: 0.5368 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.4751, allocations: 120 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.4761, allocations: 467.7 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.4765, allocations: 314.9 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.4773, allocations: 0.583 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.4793, allocations: 1.628 MB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4793, allocations: 4 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4793, allocations: 4 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.138e-05/0.4794, allocations: 3.984 kB / 1.225 GB, free: 8.949 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003506/0.4829, allocations: 1.477 MB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.483, allocations: 12.03 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.4841, allocations: 191.3 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.4854, allocations: 0.7623 MB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.4855, allocations: 66 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.4856, allocations: 88 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.4875, allocations: 0.9652 MB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.4875, allocations: 0 / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.4876, allocations: 36 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.4876, allocations: 20 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.4895, allocations: 1.159 MB / 1.23 GB, free: 4.047 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.004822/0.4944, allocations: 2.888 MB / 1.233 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.496, allocations: 0.8553 MB / 1.233 GB, free: 184 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.4966, allocations: 322.7 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.4967, allocations: 40.52 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.4977, allocations: 0.5314 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.795e-06/0.4978, allocations: 0 / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.0034/0.5012, allocations: 1.294 MB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.5013, allocations: 200.9 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.5023, allocations: 0.6527 MB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.544e-05/0.5024, allocations: 45.7 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.5027, allocations: 408.4 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.503, allocations: 283.9 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.5032, allocations: 178.5 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5034, allocations: 382.8 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.504, allocations: 297.8 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.5046, allocations: 391.1 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5057, allocations: 0.6554 MB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5058, allocations: 4 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002098/0.5079, allocations: 0.9229 MB / 1.24 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.5079, allocations: 7.938 kB / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5079, allocations: 0 / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.5086, allocations: 80.84 kB / 1.24 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.5093, allocations: 183.7 kB / 1.24 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.5114, allocations: 1.634 MB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/0.5124, allocations: 97.12 kB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5125, allocations: 51.89 kB / 1.242 GB, free: 7.266 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: 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.0005432/0.5131, allocations: 277.2 kB / 1.242 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.5133, allocations: 82.97 kB / 1.242 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.5161, allocations: 1.164 MB / 1.243 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5162, allocations: 19.98 kB / 1.243 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5162, allocations: 0 / 1.243 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.5162, allocations: 7.922 kB / 1.243 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.5175, allocations: 0.9386 MB / 1.244 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.5175, allocations: 3.938 kB / 1.244 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.5182, allocations: 155.8 kB / 1.244 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.5187, allocations: 72.8 kB / 1.244 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.669e-05/0.5188, allocations: 31.91 kB / 1.245 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5207, allocations: 1.658 MB / 1.246 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5207, allocations: 0 / 1.246 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.5229, allocations: 0.998 MB / 1.247 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.5233, allocations: 283.7 kB / 1.247 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.5235, allocations: 20 kB / 1.247 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.5243, allocations: 85.02 kB / 1.247 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5245, allocations: 72.89 kB / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/0.5246, allocations: 39.97 kB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006572/0.5252, allocations: 479 kB / 1.248 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5252, allocations: 0 / 1.248 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009572/0.5262, allocations: 331.4 kB / 1.248 GB, free: 336 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: 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.4855/1.012, allocations: 0.6004 MB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003115/1.015, allocations: 1.123 MB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.015, allocations: 1.031 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009977/1.016, allocations: 0.5434 MB / 1.251 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.017, allocations: 302.4 kB / 1.251 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/1.021, allocations: 2.168 MB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/1.022, allocations: 1.045 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00118/1.023, allocations: 277.4 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/1.024, allocations: 111 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.593e-06/1.024, allocations: 0 / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.0325/1.056, allocations: 15.81 MB / 1.27 GB, free: 179.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) 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) Reference file matches