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.001563/0.001563, 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.001881/0.001881, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.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.383/2.383, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6402/0.6415, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004964/0.6465, allocations: 4.475 MB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1624/0.8089, allocations: 148.5 MB / 1.099 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009465/0.8099, allocations: 19.88 kB / 1.099 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.8105, allocations: 134.9 kB / 1.099 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.8122, allocations: 479.6 kB / 1.099 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.8141, allocations: 0.7545 MB / 1.1 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.8155, allocations: 1.371 MB / 1.101 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.8163, allocations: 0.6274 MB / 1.102 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.8169, allocations: 0.4904 MB / 1.102 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.8174, allocations: 0.5211 MB / 1.103 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.8176, allocations: 123.9 kB / 1.103 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008187/0.8184, allocations: 471.7 kB / 1.103 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.8187, allocations: 307 kB / 1.104 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.8191, allocations: 0.5635 MB / 1.104 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.8208, allocations: 1.62 MB / 1.106 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8209, allocations: 4 kB / 1.106 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8209, allocations: 0 / 1.106 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.8209, allocations: 0 / 1.106 GB, free: 1.031 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.002614/0.8235, allocations: 1.456 MB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.8236, allocations: 16.03 kB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/0.8245, allocations: 187.3 kB / 1.107 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/0.8255, allocations: 0.7585 MB / 1.108 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.8256, allocations: 66 kB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.8257, allocations: 95.98 kB / 1.108 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.8274, allocations: 0.9691 MB / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.8274, allocations: 3.938 kB / 1.109 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.745e-05/0.8275, allocations: 40 kB / 1.109 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.8275, allocations: 20 kB / 1.109 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.8294, allocations: 1.163 MB / 1.11 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/0.8337, allocations: 2.667 MB / 1.113 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.8354, allocations: 0.8549 MB / 1.114 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.8359, allocations: 314.7 kB / 1.114 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.942e-05/0.836, allocations: 36.67 kB / 1.114 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.8371, allocations: 0.5354 MB / 1.115 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.565e-06/0.8371, allocations: 0 / 1.115 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.00336/0.8405, allocations: 1.29 MB / 1.116 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.8406, allocations: 192.9 kB / 1.116 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/0.8414, allocations: 0.6566 MB / 1.117 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/0.8415, allocations: 41.7 kB / 1.117 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.8418, allocations: 404.4 kB / 1.117 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.842, allocations: 287.9 kB / 1.118 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.8423, allocations: 178.5 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8425, allocations: 394.7 kB / 1.118 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.8431, allocations: 285.8 kB / 1.118 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.8438, allocations: 395.1 kB / 1.119 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.845, allocations: 0.6554 MB / 1.119 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.845, allocations: 0 / 1.119 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002136/0.8471, allocations: 0.9229 MB / 1.12 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.8472, allocations: 12.03 kB / 1.12 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8472, allocations: 0 / 1.12 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006698/0.8479, allocations: 80.77 kB / 1.12 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.8487, allocations: 179.7 kB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.8509, allocations: 1.623 MB / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.8518, allocations: 103.2 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/0.8519, allocations: 39.91 kB / 1.122 GB, free: 15.64 MB / 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.0004941/0.8524, allocations: 279.8 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.8526, allocations: 82.97 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.8553, allocations: 1.175 MB / 1.124 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.8554, allocations: 12 kB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8554, allocations: 0 / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.8554, allocations: 3.984 kB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.8569, allocations: 0.9384 MB / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.8569, allocations: 0 / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/0.8576, allocations: 159.7 kB / 1.125 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.8581, allocations: 72.78 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.26e-05/0.8582, allocations: 31.91 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.8605, allocations: 1.65 MB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8605, allocations: 3.938 kB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.8627, allocations: 0.9903 MB / 1.128 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.8632, allocations: 283.7 kB / 1.128 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.8634, allocations: 19.94 kB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/0.8641, allocations: 79.92 kB / 1.128 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.8643, allocations: 80.83 kB / 1.128 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.8644, allocations: 36.12 kB / 1.128 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007634/0.8652, allocations: 479 kB / 1.128 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.685e-06/0.8652, allocations: 0 / 1.128 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001088/0.8663, allocations: 331.2 kB / 1.129 GB, free: 8.711 MB / 0.8887 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.001587/0.8679, allocations: 0.6149 MB / 1.129 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.8704, allocations: 1.12 MB / 1.13 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8705, allocations: 192 / 1.13 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009886/0.8715, allocations: 0.5393 MB / 1.131 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.8727, allocations: 293.2 kB / 1.131 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.8768, allocations: 2.283 MB / 1.133 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.8774, allocations: 1.04 MB / 1.135 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008805/0.8783, allocations: 267.1 kB / 1.135 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.8786, allocations: 115.4 kB / 1.135 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.8786, allocations: 0 / 1.135 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of Templates: time 0.02663/0.9053, allocations: 15.41 MB / 1.15 GB, free: 3.324 MB / 0.9044 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