Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_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_10_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.001576/0.001576, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001582/0.001582, allocations: 191.4 kB / 17.2 MB, free: 5.598 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.594/2.594, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.47 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007495/0.3197, allocations: 4.983 MB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6665/0.9863, allocations: 150.8 MB / 1.17 GB, free: 300 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008259/0.9872, allocations: 15.66 kB / 1.17 GB, free: 296 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.9879, allocations: 196.1 kB / 1.17 GB, free: 164 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.9903, allocations: 0.568 MB / 1.171 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.9926, allocations: 0.8503 MB / 1.172 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002303/0.9949, allocations: 1.439 MB / 1.173 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.9962, allocations: 0.5943 MB / 1.174 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.9973, allocations: 0.5087 MB / 1.174 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009621/0.9983, allocations: 0.5394 MB / 1.175 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.9985, allocations: 120.1 kB / 1.175 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.9998, allocations: 459.1 kB / 1.175 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003495/1, allocations: 313.7 kB / 1.176 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007305/1.001, allocations: 0.5807 MB / 1.176 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/1.003, allocations: 1.648 MB / 1.178 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.003, allocations: 1.25 kB / 1.178 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.003, allocations: 0 / 1.178 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.077e-05/1.003, allocations: 0 / 1.178 GB, free: 12.02 MB / 0.8887 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.003311/1.007, allocations: 1.481 MB / 1.179 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.007, allocations: 8.094 kB / 1.179 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/1.008, allocations: 186.5 kB / 1.179 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.009, allocations: 0.7675 MB / 1.18 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/1.009, allocations: 65.75 kB / 1.18 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.009, allocations: 84.38 kB / 1.18 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.011, allocations: 0.9684 MB / 1.181 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.011, allocations: 0 / 1.181 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.011, allocations: 40.95 kB / 1.181 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/1.011, allocations: 24.84 kB / 1.181 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/1.013, allocations: 1.155 MB / 1.182 GB, free: 8.871 MB / 0.8887 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.005138/1.019, allocations: 2.876 MB / 1.185 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/1.02, allocations: 0.8495 MB / 1.186 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/1.021, allocations: 322.5 kB / 1.186 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.572e-05/1.021, allocations: 37.17 kB / 1.186 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009512/1.022, allocations: 0.5265 MB / 1.187 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=88): time 2.505e-06/1.022, allocations: 0 / 1.187 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88): time 0.003596/1.025, allocations: 1.301 MB / 1.188 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/1.026, allocations: 197.8 kB / 1.188 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009727/1.027, allocations: 0.6515 MB / 1.189 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.027, allocations: 43.11 kB / 1.189 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/1.027, allocations: 405.9 kB / 1.189 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/1.027, allocations: 289.1 kB / 1.19 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.028, allocations: 175.3 kB / 1.19 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.028, allocations: 396.1 kB / 1.19 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/1.029, allocations: 293.9 kB / 1.191 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/1.029, allocations: 393.8 kB / 1.191 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.03, allocations: 0.6599 MB / 1.192 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.03, allocations: 0 / 1.192 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002222/1.033, allocations: 0.9215 MB / 1.192 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.033, allocations: 5.625 kB / 1.192 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.033, allocations: 6.312 kB / 1.192 GB, free: 2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/1.033, allocations: 81.97 kB / 1.193 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/1.034, allocations: 179.7 kB / 1.193 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/1.037, allocations: 1.623 MB / 1.194 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.038, allocations: 108.1 kB / 1.194 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/1.038, allocations: 35.44 kB / 1.194 GB, free: 240 kB / 0.8887 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.0005506/1.038, allocations: 284.7 kB / 1.195 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/1.039, allocations: 85.84 kB / 1.195 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/1.041, allocations: 1.17 MB / 1.196 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.041, allocations: 13.84 kB / 1.196 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/1.041, allocations: 3.125 kB / 1.196 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.041, allocations: 7.922 kB / 1.196 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/1.043, allocations: 0.9397 MB / 1.197 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.043, allocations: 0 / 1.197 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/1.043, allocations: 150.5 kB / 1.197 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/1.044, allocations: 74.59 kB / 1.197 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/1.044, allocations: 25.36 kB / 1.197 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/1.046, allocations: 1.661 MB / 1.199 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.046, allocations: 6.75 kB / 1.199 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/1.048, allocations: 0.9919 MB / 1.2 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/1.049, allocations: 289.6 kB / 1.2 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/1.049, allocations: 24.8 kB / 1.2 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/1.05, allocations: 60.62 kB / 1.2 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.05, allocations: 86.64 kB / 1.2 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/1.05, allocations: 41.06 kB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006438/1.051, allocations: 479 kB / 1.201 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.051, allocations: 0 / 1.201 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000924/1.052, allocations: 343.5 kB / 1.201 GB, free: 11.61 MB / 0.9044 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.001923/1.054, allocations: 0.6094 MB / 1.202 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0026/1.056, allocations: 1.118 MB / 1.203 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.056, allocations: 2.906 kB / 1.203 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.057, allocations: 0.5437 MB / 1.203 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.059, allocations: 301.9 kB / 1.203 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/1.062, allocations: 1.788 MB / 1.205 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/1.063, allocations: 1.04 MB / 1.206 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/1.063, allocations: 127.4 kB / 1.206 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of SimCode: time 9.41e-07/1.063, allocations: 0 / 1.206 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of Templates: time 0.03053/1.094, allocations: 19.32 MB / 1.225 GB, free: 4.645 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches