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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007675/0.007675, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001645/0.001645, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8969, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006419/0.9033, allocations: 4.472 MB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1921/1.095, allocations: 150.8 MB / 1.239 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/1.097, allocations: 15.09 kB / 1.24 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009243/1.098, allocations: 176.5 kB / 1.24 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002652/1.1, allocations: 0.5349 MB / 1.24 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/1.103, allocations: 0.8324 MB / 1.241 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002218/1.106, allocations: 1.371 MB / 1.242 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/1.107, allocations: 0.6312 MB / 1.243 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/1.108, allocations: 0.4999 MB / 1.243 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/1.109, allocations: 0.519 MB / 1.244 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004899/1.11, allocations: 120.7 kB / 1.244 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/1.111, allocations: 489.2 kB / 1.245 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/1.112, allocations: 315 kB / 1.245 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008066/1.112, allocations: 0.5674 MB / 1.245 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/1.115, allocations: 1.649 MB / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.115, allocations: 0 / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/1.115, allocations: 0 / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.1e-05/1.115, allocations: 4 kB / 1.247 GB, free: 10.76 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.003081/1.118, allocations: 1.472 MB / 1.248 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.118, allocations: 12.03 kB / 1.248 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009923/1.119, allocations: 191.3 kB / 1.249 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.12, allocations: 0.7818 MB / 1.249 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/1.121, allocations: 69.94 kB / 1.249 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.121, allocations: 84 kB / 1.25 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.123, allocations: 0.9691 MB / 1.25 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.123, allocations: 0 / 1.25 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/1.123, allocations: 44 kB / 1.251 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/1.123, allocations: 20 kB / 1.251 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/1.124, allocations: 1.159 MB / 1.252 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/1.129, allocations: 2.652 MB / 1.254 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.13, allocations: 0.8368 MB / 1.255 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/1.131, allocations: 322.7 kB / 1.255 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.079e-05/1.131, allocations: 36.67 kB / 1.255 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008841/1.132, allocations: 0.5237 MB / 1.256 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 4.789e-06/1.132, allocations: 3.984 kB / 1.256 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003192/1.135, allocations: 1.286 MB / 1.257 GB, free: 56 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.135, allocations: 196.9 kB / 1.257 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008816/1.136, allocations: 0.6489 MB / 1.258 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/1.136, allocations: 49.7 kB / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/1.136, allocations: 408.4 kB / 1.258 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/1.137, allocations: 291.9 kB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/1.137, allocations: 182.4 kB / 1.259 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.137, allocations: 382.8 kB / 1.259 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/1.138, allocations: 297.8 kB / 1.26 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/1.138, allocations: 391.1 kB / 1.26 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/1.14, allocations: 0.6555 MB / 1.261 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.14, allocations: 0 / 1.261 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002093/1.142, allocations: 0.9074 MB / 1.261 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.142, allocations: 11.94 kB / 1.261 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.142, allocations: 8.078 kB / 1.261 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/1.142, allocations: 80.72 kB / 1.262 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/1.143, allocations: 179.8 kB / 1.262 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/1.145, allocations: 1.625 MB / 1.263 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/1.146, allocations: 107.3 kB / 1.263 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.146, allocations: 43.91 kB / 1.263 GB, free: 9.379 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.0005296/1.147, allocations: 275.9 kB / 1.264 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/1.147, allocations: 86.91 kB / 1.264 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/1.15, allocations: 1.167 MB / 1.265 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.15, allocations: 12 kB / 1.265 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.15, allocations: 0 / 1.265 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/1.15, allocations: 7.969 kB / 1.265 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/1.151, allocations: 0.9316 MB / 1.266 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/1.151, allocations: 0 / 1.266 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/1.152, allocations: 155.8 kB / 1.266 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/1.152, allocations: 76.72 kB / 1.266 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/1.152, allocations: 31.92 kB / 1.266 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/1.154, allocations: 1.654 MB / 1.268 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.154, allocations: 0 / 1.268 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.157, allocations: 1.002 MB / 1.269 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/1.157, allocations: 279.6 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/1.157, allocations: 23.94 kB / 1.269 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/1.158, allocations: 71.86 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/1.158, allocations: 76.89 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/1.158, allocations: 43.97 kB / 1.269 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007386/1.159, allocations: 479 kB / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.159, allocations: 0 / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00097/1.16, allocations: 319.3 kB / 1.27 GB, free: 2.461 MB / 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.00144/1.161, allocations: 0.6286 MB / 1.271 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.163, allocations: 0.8938 MB / 1.271 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.163, allocations: 0 / 1.271 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/1.164, allocations: 0.5432 MB / 1.272 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.166, allocations: 295.8 kB / 1.272 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/1.17, allocations: 1.814 MB / 1.274 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/1.171, allocations: 1.048 MB / 1.275 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008162/1.171, allocations: 267.1 kB / 1.275 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/1.172, allocations: 115.4 kB / 1.275 GB, free: 12.97 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.172, allocations: 0 / 1.275 GB, free: 12.97 MB / 1.014 GB Notification: Performance of Templates: time 0.02828/1.2, allocations: 16.01 MB / 1.291 GB, free: 13.12 MB / 1.029 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