Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005636/0.005636, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001299/0.001299, allocations: 198.6 kB / 16.67 MB, free: 5.934 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 55.91 kB / 1.018 GB, free: 9.52 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8359, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008193/0.8442, allocations: 6.956 MB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1637/1.008, allocations: 151.3 MB / 1.321 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/1.009, allocations: 15.94 kB / 1.321 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/1.01, allocations: 265.4 kB / 1.321 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002811/1.013, allocations: 0.8094 MB / 1.322 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/1.016, allocations: 1.002 MB / 1.323 GB, free: 2.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002767/1.018, allocations: 2.14 MB / 1.325 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/1.02, allocations: 1.027 MB / 1.326 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/1.021, allocations: 0.8448 MB / 1.327 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/1.023, allocations: 0.9064 MB / 1.328 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/1.023, allocations: 208 kB / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/1.024, allocations: 0.5582 MB / 1.329 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/1.024, allocations: 490.4 kB / 1.329 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008312/1.025, allocations: 0.9564 MB / 1.33 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002784/1.028, allocations: 2.579 MB / 1.333 GB, free: 9.188 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.028, allocations: 0 / 1.333 GB, free: 9.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.963e-06/1.028, allocations: 0 / 1.333 GB, free: 9.188 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.003e-05/1.028, allocations: 0 / 1.333 GB, free: 9.188 MB / 1.061 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.004026/1.032, allocations: 2.117 MB / 1.335 GB, free: 7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.032, allocations: 11.98 kB / 1.335 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/1.033, allocations: 263.6 kB / 1.335 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/1.035, allocations: 1.001 MB / 1.336 GB, free: 5.684 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/1.035, allocations: 119.1 kB / 1.336 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.035, allocations: 144 kB / 1.336 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/1.038, allocations: 1.592 MB / 1.338 GB, free: 3.777 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/1.038, allocations: 0 / 1.338 GB, free: 3.777 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.038, allocations: 64 kB / 1.338 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/1.038, allocations: 36 kB / 1.338 GB, free: 3.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/1.041, allocations: 1.635 MB / 1.339 GB, free: 2.039 MB / 1.061 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.007048/1.048, allocations: 4.545 MB / 1.344 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/1.05, allocations: 1.194 MB / 1.345 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/1.051, allocations: 475.7 kB / 1.345 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/1.051, allocations: 48.91 kB / 1.345 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/1.052, allocations: 0.7829 MB / 1.346 GB, free: 10.81 MB / 1.076 GB Notification: Performance of pre-optimization done (n=128): time 2.816e-06/1.052, allocations: 0 / 1.346 GB, free: 10.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=128): time 0.004487/1.057, allocations: 1.85 MB / 1.348 GB, free: 8.934 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.057, allocations: 197.2 kB / 1.348 GB, free: 8.699 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/1.058, allocations: 0.8655 MB / 1.349 GB, free: 7.809 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.058, allocations: 53.7 kB / 1.349 GB, free: 7.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/1.059, allocations: 0.6184 MB / 1.35 GB, free: 7.121 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/1.059, allocations: 432.4 kB / 1.35 GB, free: 6.695 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/1.06, allocations: 254.8 kB / 1.35 GB, free: 6.438 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.06, allocations: 353.9 kB / 1.351 GB, free: 6.086 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008717/1.061, allocations: 450.3 kB / 1.351 GB, free: 5.648 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.062, allocations: 0.5649 MB / 1.352 GB, free: 5.066 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/1.063, allocations: 0.9857 MB / 1.353 GB, free: 4.074 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.063, allocations: 0 / 1.353 GB, free: 4.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003012/1.066, allocations: 1.352 MB / 1.354 GB, free: 2.711 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.067, allocations: 11.17 kB / 1.354 GB, free: 2.703 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.067, allocations: 3.938 kB / 1.354 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/1.067, allocations: 92.75 kB / 1.354 GB, free: 2.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.068, allocations: 263.6 kB / 1.354 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/1.071, allocations: 1.65 MB / 1.356 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.072, allocations: 161.4 kB / 1.356 GB, free: 408 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.072, allocations: 55.95 kB / 1.356 GB, free: 352 kB / 1.076 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.0007081/1.073, allocations: 357.8 kB / 1.357 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/1.073, allocations: 123.2 kB / 1.357 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/1.077, allocations: 1.71 MB / 1.358 GB, free: 14.13 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/1.077, allocations: 12 kB / 1.358 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.077, allocations: 0 / 1.358 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.077, allocations: 11.97 kB / 1.358 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.079, allocations: 1.393 MB / 1.36 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.079, allocations: 0 / 1.36 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/1.08, allocations: 227.7 kB / 1.36 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/1.08, allocations: 64.8 kB / 1.36 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/1.08, allocations: 39.95 kB / 1.36 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.082, allocations: 1.686 MB / 1.362 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.082, allocations: 0 / 1.362 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/1.085, allocations: 1.415 MB / 1.363 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/1.086, allocations: 379.8 kB / 1.363 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/1.086, allocations: 43.89 kB / 1.363 GB, free: 8.645 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/1.087, allocations: 79.91 kB / 1.364 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.087, allocations: 113.2 kB / 1.364 GB, free: 8.453 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.087, allocations: 51.95 kB / 1.364 GB, free: 8.402 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008824/1.088, allocations: 0.6541 MB / 1.364 GB, free: 7.738 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.11e-07/1.088, allocations: 0 / 1.364 GB, free: 7.738 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001151/1.089, allocations: 498.7 kB / 1.365 GB, free: 7.25 MB / 1.092 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.001385/1.091, allocations: 0.626 MB / 1.365 GB, free: 6.789 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002479/1.093, allocations: 1.275 MB / 1.367 GB, free: 5.5 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.093, allocations: 0 / 1.367 GB, free: 5.5 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/1.094, allocations: 0.7402 MB / 1.367 GB, free: 4.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.096, allocations: 355.2 kB / 1.368 GB, free: 4.422 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/1.1, allocations: 2.598 MB / 1.37 GB, free: 1.781 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/1.101, allocations: 1.236 MB / 1.371 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001025/1.102, allocations: 338.1 kB / 1.372 GB, free: 180 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/1.102, allocations: 163.3 kB / 1.372 GB, free: 16 kB / 1.092 GB Notification: Performance of SimCode: time 6.61e-07/1.102, allocations: 0 / 1.372 GB, free: 16 kB / 1.092 GB Notification: Performance of Templates: time 0.03755/1.14, allocations: 21.97 MB / 1.393 GB, free: 10.21 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches