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.001636/0.001636, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001779/0.001779, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.645 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.39/2.39, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6765/0.6783, allocations: 140.3 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005407/0.6837, allocations: 4.489 MB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.8532, allocations: 148.4 MB / 1.098 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.8543, allocations: 15.94 kB / 1.098 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.855, allocations: 142.9 kB / 1.098 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.8572, allocations: 457.8 kB / 1.099 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.8594, allocations: 0.723 MB / 1.1 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.861, allocations: 1.289 MB / 1.101 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.8622, allocations: 0.6153 MB / 1.101 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000916/0.8632, allocations: 426.3 kB / 1.102 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000657/0.8638, allocations: 497.6 kB / 1.102 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.864, allocations: 60 kB / 1.102 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.8651, allocations: 407.6 kB / 1.103 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.8654, allocations: 243 kB / 1.103 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.866, allocations: 0.5049 MB / 1.103 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.8679, allocations: 1.561 MB / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8679, allocations: 0 / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8679, allocations: 0 / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.8679, allocations: 0 / 1.105 GB, free: 1.695 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.002902/0.8708, allocations: 1.468 MB / 1.106 GB, free: 184 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.8709, allocations: 12.03 kB / 1.106 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8719, allocations: 191.5 kB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.8731, allocations: 0.7585 MB / 1.107 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.8731, allocations: 66 kB / 1.107 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.8733, allocations: 84 kB / 1.107 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.875, allocations: 0.9691 MB / 1.108 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.875, allocations: 3.938 kB / 1.108 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.544e-05/0.8751, allocations: 36 kB / 1.108 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-05/0.8752, allocations: 27.98 kB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.8772, allocations: 1.155 MB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.8819, allocations: 2.664 MB / 1.112 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.8837, allocations: 0.8432 MB / 1.113 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.8843, allocations: 322.7 kB / 1.113 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/0.8844, allocations: 36.61 kB / 1.113 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.8854, allocations: 0.5353 MB / 1.114 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.835e-06/0.8854, allocations: 0 / 1.114 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003539/0.889, allocations: 1.29 MB / 1.115 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.8891, allocations: 196.9 kB / 1.115 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/0.8901, allocations: 0.6566 MB / 1.116 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.8901, allocations: 41.7 kB / 1.116 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.8905, allocations: 408.4 kB / 1.116 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.8909, allocations: 287.9 kB / 1.117 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.8912, allocations: 174.5 kB / 1.117 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.8914, allocations: 390.7 kB / 1.117 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.892, allocations: 293.8 kB / 1.118 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.8927, allocations: 399 kB / 1.118 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.8939, allocations: 0.6554 MB / 1.119 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.8939, allocations: 0 / 1.119 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002121/0.8961, allocations: 0.9112 MB / 1.119 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8961, allocations: 16.03 kB / 1.119 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.8961, allocations: 0 / 1.119 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.8967, allocations: 80.77 kB / 1.12 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.8975, allocations: 183.7 kB / 1.12 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.8996, allocations: 1.518 MB / 1.121 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.9005, allocations: 99.28 kB / 1.121 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.9005, allocations: 43.97 kB / 1.121 GB, free: 428 kB / 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 (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.0004948/0.901, allocations: 275.7 kB / 1.122 GB, free: 140 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.9012, allocations: 82.97 kB / 1.122 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.9039, allocations: 1.168 MB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.904, allocations: 12 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.904, allocations: 3.938 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.904, allocations: 7.969 kB / 1.123 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.9052, allocations: 0.9306 MB / 1.124 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9052, allocations: 4 kB / 1.124 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.9059, allocations: 151.8 kB / 1.124 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/0.9065, allocations: 84.72 kB / 1.124 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.9066, allocations: 35.97 kB / 1.124 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.9086, allocations: 1.544 MB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9086, allocations: 3.938 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.9108, allocations: 1.002 MB / 1.127 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.9113, allocations: 279.9 kB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.9115, allocations: 31.91 kB / 1.127 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.9122, allocations: 69.19 kB / 1.127 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.9124, allocations: 76.88 kB / 1.127 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.9125, allocations: 35.98 kB / 1.127 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007419/0.9133, allocations: 479 kB / 1.127 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.583e-06/0.9133, allocations: 0 / 1.127 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001063/0.9143, allocations: 327.2 kB / 1.128 GB, free: 9.602 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.001526/0.9159, allocations: 0.5988 MB / 1.128 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.9179, allocations: 0.8938 MB / 1.129 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9179, allocations: 0 / 1.129 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.919, allocations: 0.5509 MB / 1.13 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.9204, allocations: 264.6 kB / 1.13 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.9252, allocations: 2.278 MB / 1.132 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.926, allocations: 1.044 MB / 1.133 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001178/0.9272, allocations: 271.1 kB / 1.133 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.9276, allocations: 111.4 kB / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.9276, allocations: 0 / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of Templates: time 0.02893/0.9566, allocations: 14.86 MB / 1.148 GB, free: 5.004 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