Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001243/0.001243, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001706/0.001706, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003777, allocations: 11.94 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8117, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005706/0.8175, allocations: 3.853 MB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.9885, allocations: 137 MB / 1.092 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009387/0.9895, allocations: 15.94 kB / 1.092 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.9901, allocations: 134.9 kB / 1.092 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.9916, allocations: 447.5 kB / 1.093 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.9937, allocations: 0.6319 MB / 1.093 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.9952, allocations: 1.176 MB / 1.094 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007852/0.996, allocations: 493 kB / 1.095 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.9967, allocations: 358.4 kB / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005271/0.9972, allocations: 390 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.219e-05/0.9973, allocations: 28 kB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.9982, allocations: 339.7 kB / 1.096 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.9985, allocations: 195.1 kB / 1.096 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.9987, allocations: 201.1 kB / 1.096 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/1, allocations: 1.192 MB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1, allocations: 0 / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/1, allocations: 0 / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.381e-05/1, allocations: 0 / 1.097 GB, free: 12.78 MB / 0.8575 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.002512/1.003, allocations: 1.257 MB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.003, allocations: 8.031 kB / 1.099 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/1.004, allocations: 202.4 kB / 1.099 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/1.005, allocations: 0.7311 MB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-05/1.005, allocations: 66 kB / 1.1 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/1.005, allocations: 84 kB / 1.1 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.007, allocations: 0.9651 MB / 1.101 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/1.007, allocations: 3.984 kB / 1.101 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.007, allocations: 43.95 kB / 1.101 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/1.007, allocations: 20 kB / 1.101 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.009, allocations: 1.155 MB / 1.102 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/1.014, allocations: 2.701 MB / 1.104 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.015, allocations: 0.8433 MB / 1.105 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/1.016, allocations: 326.7 kB / 1.106 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/1.016, allocations: 32.67 kB / 1.106 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009817/1.017, allocations: 0.5392 MB / 1.106 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/1.017, allocations: 0 / 1.106 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88): time 0.003135/1.02, allocations: 1.296 MB / 1.107 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.02, allocations: 196.9 kB / 1.108 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/1.021, allocations: 0.645 MB / 1.108 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/1.021, allocations: 41.7 kB / 1.108 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/1.022, allocations: 408.4 kB / 1.109 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/1.022, allocations: 295.8 kB / 1.109 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/1.022, allocations: 16 kB / 1.109 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.022, allocations: 386.8 kB / 1.109 GB, free: 224 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/1.023, allocations: 289.8 kB / 1.11 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/1.023, allocations: 399.1 kB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/1.024, allocations: 330.9 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.024, allocations: 0 / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001916/1.026, allocations: 0.923 MB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.026, allocations: 5.25 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.026, allocations: 3.953 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/1.026, allocations: 84.84 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/1.027, allocations: 179.7 kB / 1.111 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/1.029, allocations: 1.519 MB / 1.113 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/1.03, allocations: 119.3 kB / 1.113 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/1.03, allocations: 35.97 kB / 1.113 GB, free: 12.2 MB / 0.8731 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005472/1.031, allocations: 275.9 kB / 1.113 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/1.031, allocations: 86.95 kB / 1.113 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/1.033, allocations: 1.187 MB / 1.115 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.033, allocations: 8 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.033, allocations: 0 / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.033, allocations: 7.984 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/1.035, allocations: 0.9384 MB / 1.115 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.035, allocations: 0 / 1.115 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/1.035, allocations: 163.8 kB / 1.116 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/1.036, allocations: 80.78 kB / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.816e-05/1.036, allocations: 27.97 kB / 1.116 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/1.038, allocations: 1.552 MB / 1.117 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.038, allocations: 0 / 1.117 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/1.04, allocations: 0.9981 MB / 1.118 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/1.04, allocations: 303.5 kB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.04, allocations: 23.92 kB / 1.119 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/1.041, allocations: 89.19 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.041, allocations: 72.89 kB / 1.119 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/1.041, allocations: 47.92 kB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007109/1.042, allocations: 471 kB / 1.119 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.71e-07/1.042, allocations: 0 / 1.119 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001118/1.043, allocations: 327.2 kB / 1.12 GB, free: 5.324 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/1.045, allocations: 0.6057 MB / 1.12 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001879/1.047, allocations: 0.8899 MB / 1.121 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.047, allocations: 0 / 1.121 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009959/1.048, allocations: 0.5432 MB / 1.122 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.049, allocations: 265 kB / 1.122 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/1.054, allocations: 2.269 MB / 1.124 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/1.054, allocations: 1.048 MB / 1.125 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009863/1.055, allocations: 267 kB / 1.125 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/1.056, allocations: 111.4 kB / 1.125 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of SimCode: time 9.21e-07/1.056, allocations: 0 / 1.125 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of Templates: time 0.02767/1.083, allocations: 14.31 MB / 1.139 GB, free: 1.301 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches