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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 180.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009321, allocations: 99.84 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.984e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3636, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.388/5.751, allocations: 1.73 GB / 2.936 GB, free: 157.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/5.752, allocations: 87.95 kB / 2.936 GB, free: 157.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1226/5.874, allocations: 58.38 MB / 2.993 GB, free: 99.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.084e-06/5.874, allocations: 0 / 2.993 GB, free: 99.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.827e-05/5.874, allocations: 23.98 kB / 2.993 GB, free: 99.22 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001884/5.876, allocations: 1.072 MB / 2.994 GB, free: 98.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/5.876, allocations: 8.031 kB / 2.994 GB, free: 98.09 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008393/5.877, allocations: 194.5 kB / 2.994 GB, free: 97.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/5.878, allocations: 0.6036 MB / 2.995 GB, free: 97.26 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/5.878, allocations: 24 kB / 2.995 GB, free: 97.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/5.878, allocations: 44 kB / 2.995 GB, free: 97.19 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001156/5.879, allocations: 0.9835 MB / 2.996 GB, free: 96.21 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/5.88, allocations: 0.7156 MB / 2.997 GB, free: 95.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/5.88, allocations: 3.984 kB / 2.997 GB, free: 95.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/5.88, allocations: 7.953 kB / 2.997 GB, free: 95.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/5.881, allocations: 20 kB / 2.997 GB, free: 95.42 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/5.884, allocations: 2.263 MB / 2.999 GB, free: 93.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/5.884, allocations: 0.7207 MB / 3 GB, free: 92.35 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/5.885, allocations: 242.5 kB / 3 GB, free: 92.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/5.885, allocations: 28.59 kB / 3 GB, free: 92.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/5.885, allocations: 384.6 kB / 3 GB, free: 91.69 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.525e-06/5.885, allocations: 0 / 3 GB, free: 91.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001363/5.887, allocations: 0.6485 MB / 3.001 GB, free: 91.03 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/5.887, allocations: 244.1 kB / 3.001 GB, free: 90.73 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/5.887, allocations: 498.3 kB / 3.001 GB, free: 90.24 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/5.887, allocations: 29.7 kB / 3.002 GB, free: 90.21 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/5.888, allocations: 368.2 kB / 3.002 GB, free: 89.84 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/5.888, allocations: 228.5 kB / 3.002 GB, free: 89.61 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/5.888, allocations: 4 kB / 3.002 GB, free: 89.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/5.888, allocations: 374.8 kB / 3.002 GB, free: 89.23 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/5.888, allocations: 181.5 kB / 3.003 GB, free: 89.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/5.888, allocations: 287.5 kB / 3.003 GB, free: 88.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/5.889, allocations: 236.4 kB / 3.003 GB, free: 88.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/5.889, allocations: 0 / 3.003 GB, free: 88.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001172/5.89, allocations: 0.6407 MB / 3.004 GB, free: 87.87 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/5.89, allocations: 8 kB / 3.004 GB, free: 87.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/5.89, allocations: 0 / 3.004 GB, free: 87.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/5.89, allocations: 84.83 kB / 3.004 GB, free: 87.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/5.891, allocations: 139.8 kB / 3.004 GB, free: 87.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/5.893, allocations: 1.45 MB / 3.005 GB, free: 86.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/5.893, allocations: 63.52 kB / 3.005 GB, free: 86 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/5.893, allocations: 23.98 kB / 3.005 GB, free: 85.98 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/5.893, allocations: 120.9 kB / 3.006 GB, free: 85.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/5.893, allocations: 75.05 kB / 3.006 GB, free: 85.78 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/5.895, allocations: 0.9026 MB / 3.007 GB, free: 84.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/5.895, allocations: 12 kB / 3.007 GB, free: 84.85 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/5.895, allocations: 8 kB / 3.007 GB, free: 84.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/5.895, allocations: 3.984 kB / 3.007 GB, free: 84.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/5.897, allocations: 1.691 MB / 3.008 GB, free: 83.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/5.897, allocations: 0 / 3.008 GB, free: 83.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/5.898, allocations: 155.8 kB / 3.008 GB, free: 82.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/5.898, allocations: 80.78 kB / 3.008 GB, free: 82.86 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/5.899, allocations: 15.94 kB / 3.008 GB, free: 82.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/5.9, allocations: 1.477 MB / 3.01 GB, free: 81.25 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.9, allocations: 0 / 3.01 GB, free: 81.25 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/5.901, allocations: 0.8221 MB / 3.011 GB, free: 80.41 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/5.902, allocations: 271.9 kB / 3.011 GB, free: 80.12 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/5.902, allocations: 4 kB / 3.011 GB, free: 80.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/5.902, allocations: 47.95 kB / 3.011 GB, free: 80.07 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/5.902, allocations: 64.69 kB / 3.011 GB, free: 80.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.222e-05/5.902, allocations: 27.98 kB / 3.011 GB, free: 79.98 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004132/5.903, allocations: 398.9 kB / 3.011 GB, free: 79.59 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.903, allocations: 0 / 3.011 GB, free: 79.59 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001035/5.904, allocations: 334.9 kB / 3.012 GB, free: 79.27 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/5.905, allocations: 1.091 MB / 3.013 GB, free: 78.29 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001092/5.907, allocations: 0.6321 MB / 3.013 GB, free: 77.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/5.907, allocations: 4 kB / 3.013 GB, free: 77.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/5.907, allocations: 448.6 kB / 3.014 GB, free: 77.19 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/5.908, allocations: 215.2 kB / 3.014 GB, free: 76.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/5.911, allocations: 1.285 MB / 3.015 GB, free: 75.67 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/5.912, allocations: 1.023 MB / 3.016 GB, free: 74.62 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008076/5.912, allocations: 257.6 kB / 3.017 GB, free: 74.36 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/5.913, allocations: 87.39 kB / 3.017 GB, free: 74.28 MB / 1.151 GB Notification: Performance of SimCode: time 1.362e-06/5.913, allocations: 0 / 3.017 GB, free: 74.28 MB / 1.151 GB Notification: Performance of Templates: time 0.02339/5.936, allocations: 15.45 MB / 3.032 GB, free: 58.94 MB / 1.151 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","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches