Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.001601, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.466/1.466, allocations: 222.9 MB / 240.5 MB, free: 4.527 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.434/2.434, allocations: 390.2 MB / 0.6649 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7815, allocations: 140.4 MB / 0.9496 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005856/0.7874, allocations: 4.425 MB / 0.9539 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.9721, allocations: 148.3 MB / 1.099 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.9733, allocations: 15.94 kB / 1.099 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.9739, allocations: 138.9 kB / 1.099 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.9759, allocations: 456.2 kB / 1.099 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.9779, allocations: 0.7316 MB / 1.1 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.9792, allocations: 1.261 MB / 1.101 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008739/0.9801, allocations: 0.5943 MB / 1.102 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.9807, allocations: 422.3 kB / 1.102 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.9813, allocations: 490.7 kB / 1.103 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.9814, allocations: 60 kB / 1.103 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.9823, allocations: 399.6 kB / 1.103 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.9826, allocations: 243 kB / 1.103 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.9831, allocations: 0.501 MB / 1.104 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.9844, allocations: 1.197 MB / 1.105 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9844, allocations: 0 / 1.105 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9844, allocations: 0 / 1.105 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.9844, allocations: 0 / 1.105 GB, free: 2.527 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002736/0.9871, allocations: 1.452 MB / 1.106 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.9872, allocations: 8.031 kB / 1.106 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.9881, allocations: 191.3 kB / 1.107 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.9891, allocations: 0.7391 MB / 1.107 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.9892, allocations: 78 kB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.9894, allocations: 84 kB / 1.107 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.991, allocations: 0.9379 MB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.991, allocations: 3.984 kB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.9911, allocations: 36 kB / 1.108 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.9911, allocations: 20 kB / 1.108 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.9929, allocations: 1.124 MB / 1.11 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.9969, allocations: 2.546 MB / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.9985, allocations: 0.9071 MB / 1.113 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.9991, allocations: 310.7 kB / 1.113 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/0.9992, allocations: 36.67 kB / 1.113 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009981/1, allocations: 0.5081 MB / 1.114 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.415e-06/1, allocations: 0 / 1.114 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003327/1.004, allocations: 1.243 MB / 1.115 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.004, allocations: 196.9 kB / 1.115 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/1.005, allocations: 0.6448 MB / 1.116 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/1.005, allocations: 45.7 kB / 1.116 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/1.005, allocations: 400.4 kB / 1.116 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/1.005, allocations: 268.2 kB / 1.116 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/1.005, allocations: 178.4 kB / 1.117 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.006, allocations: 386.7 kB / 1.117 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/1.006, allocations: 277.8 kB / 1.117 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/1.007, allocations: 383 kB / 1.118 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.008, allocations: 0.6242 MB / 1.118 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.008, allocations: 4 kB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002109/1.01, allocations: 0.8722 MB / 1.119 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.01, allocations: 4 kB / 1.119 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.01, allocations: 3.938 kB / 1.119 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/1.011, allocations: 80.88 kB / 1.119 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/1.012, allocations: 171.7 kB / 1.119 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/1.014, allocations: 1.516 MB / 1.121 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/1.015, allocations: 99.34 kB / 1.121 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/1.015, allocations: 35.97 kB / 1.121 GB, free: 1.637 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 (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 (99): * Single equations (assignments): 98 * 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.0005072/1.016, allocations: 279.7 kB / 1.121 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.016, allocations: 86.97 kB / 1.121 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/1.018, allocations: 1.136 MB / 1.122 GB, free: 124 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.018, allocations: 12 kB / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.018, allocations: 0 / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.018, allocations: 11.91 kB / 1.122 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/1.022, allocations: 2.013 MB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.022, allocations: 0 / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/1.022, allocations: 155.8 kB / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/1.023, allocations: 80.78 kB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/1.023, allocations: 31.97 kB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/1.025, allocations: 1.544 MB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.025, allocations: 0 / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/1.027, allocations: 1.043 MB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/1.028, allocations: 275.7 kB / 1.127 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.028, allocations: 27.94 kB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/1.028, allocations: 67.98 kB / 1.128 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.029, allocations: 84.77 kB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/1.029, allocations: 39.97 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006035/1.029, allocations: 463 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/1.029, allocations: 0 / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009194/1.03, allocations: 323.2 kB / 1.128 GB, free: 9.738 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.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 (99): * Single equations (assignments): 92 * 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.001422/1.032, allocations: 0.6113 MB / 1.129 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.034, allocations: 0.8665 MB / 1.13 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.034, allocations: 0 / 1.13 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.035, allocations: 0.5314 MB / 1.13 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/1.036, allocations: 261.2 kB / 1.131 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/1.04, allocations: 2.28 MB / 1.133 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/1.041, allocations: 1.036 MB / 1.134 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/1.042, allocations: 123.3 kB / 1.134 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of SimCode: time 8.02e-07/1.042, allocations: 0 / 1.134 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of Templates: time 0.02936/1.071, allocations: 18.77 MB / 1.152 GB, free: 1.414 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches