Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, 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.001722/0.001722, allocations: 193.8 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.384/2.384, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.737, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005253/0.7423, allocations: 4.288 MB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1881/0.9304, allocations: 148.2 MB / 1.098 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.932, allocations: 11.94 kB / 1.098 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.9331, allocations: 138.9 kB / 1.098 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.9362, allocations: 421.6 kB / 1.098 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.9392, allocations: 0.7279 MB / 1.099 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.9419, allocations: 1.191 MB / 1.1 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.9436, allocations: 0.5942 MB / 1.101 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.9447, allocations: 398.3 kB / 1.101 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.9459, allocations: 453.8 kB / 1.102 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.9463, allocations: 56 kB / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.9481, allocations: 395.6 kB / 1.102 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.9486, allocations: 231.1 kB / 1.102 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.9499, allocations: 485.1 kB / 1.103 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.9532, allocations: 1.495 MB / 1.104 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.9532, allocations: 3.938 kB / 1.104 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9532, allocations: 0 / 1.104 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.929e-05/0.9533, allocations: 0 / 1.104 GB, free: 2.48 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004718/0.958, allocations: 1.391 MB / 1.106 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.958, allocations: 12.03 kB / 1.106 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.9594, allocations: 179.4 kB / 1.106 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.961, allocations: 0.7344 MB / 1.107 GB, free: 76 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.9611, allocations: 58 kB / 1.107 GB, free: 20 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.9613, allocations: 88.08 kB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.9632, allocations: 0.8988 MB / 1.108 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.9632, allocations: 4 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.9633, allocations: 39.98 kB / 1.108 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.9633, allocations: 20 kB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.9652, allocations: 1.096 MB / 1.109 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.9696, allocations: 2.468 MB / 1.111 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.9712, allocations: 0.8616 MB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.9717, allocations: 294.7 kB / 1.112 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.983e-05/0.9718, allocations: 28.61 kB / 1.112 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009452/0.9728, allocations: 499.1 kB / 1.113 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.114e-06/0.9728, allocations: 0 / 1.113 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003109/0.9759, allocations: 1.17 MB / 1.114 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.976, allocations: 192.6 kB / 1.114 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007882/0.9768, allocations: 0.6213 MB / 1.115 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.9769, allocations: 45.7 kB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.9772, allocations: 388.3 kB / 1.115 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.9774, allocations: 252.4 kB / 1.115 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.9777, allocations: 166.5 kB / 1.115 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002731/0.9779, allocations: 390.7 kB / 1.116 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.9785, allocations: 265.8 kB / 1.116 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.9791, allocations: 351.1 kB / 1.116 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.9802, allocations: 0.5994 MB / 1.117 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.9802, allocations: 0 / 1.117 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001977/0.9822, allocations: 0.8293 MB / 1.118 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.9822, allocations: 4 kB / 1.118 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9822, allocations: 0 / 1.118 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.9829, allocations: 88.8 kB / 1.118 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.9835, allocations: 163.7 kB / 1.118 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.9856, allocations: 1.512 MB / 1.12 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.9863, allocations: 99.59 kB / 1.12 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.9864, allocations: 35.97 kB / 1.12 GB, free: 2.168 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005233/0.9869, allocations: 267.4 kB / 1.12 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.9871, allocations: 86.91 kB / 1.12 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.9895, allocations: 1.05 MB / 1.121 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.9896, allocations: 11.94 kB / 1.121 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9896, allocations: 0 / 1.121 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.9896, allocations: 3.984 kB / 1.121 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.993, allocations: 1.899 MB / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.993, allocations: 0 / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.9936, allocations: 151.8 kB / 1.123 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000571/0.9942, allocations: 84.72 kB / 1.123 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.9942, allocations: 27.97 kB / 1.123 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.9962, allocations: 1.532 MB / 1.125 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9962, allocations: 0 / 1.125 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.9983, allocations: 0.9881 MB / 1.126 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.9989, allocations: 267.8 kB / 1.126 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.999, allocations: 20 kB / 1.126 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.9997, allocations: 61.02 kB / 1.126 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.9998, allocations: 68.84 kB / 1.126 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.9999, allocations: 43.91 kB / 1.126 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006496/1.001, allocations: 451 kB / 1.126 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.1e-07/1.001, allocations: 4 kB / 1.126 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009935/1.002, allocations: 315.2 kB / 1.127 GB, free: 10.61 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001564/1.003, allocations: 0.5898 MB / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001756/1.005, allocations: 0.8197 MB / 1.128 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.005, allocations: 0 / 1.128 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000943/1.006, allocations: 0.508 MB / 1.129 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.007, allocations: 265.6 kB / 1.129 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/1.012, allocations: 2.133 MB / 1.131 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/1.012, allocations: 1.012 MB / 1.132 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009041/1.013, allocations: 262.4 kB / 1.132 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/1.013, allocations: 111.3 kB / 1.132 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of SimCode: time 9.62e-07/1.013, allocations: 4 kB / 1.132 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of Templates: time 0.02809/1.042, allocations: 13.94 MB / 1.146 GB, free: 7.242 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches