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.166/2.166, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001024/0.001024, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.562/1.562, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009694, allocations: 95.05 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.506e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3515, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.113/5.464, allocations: 1.731 GB / 2.943 GB, free: 134.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/5.465, allocations: 90.75 kB / 2.943 GB, free: 134.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1236/5.588, allocations: 59.23 MB / 3.001 GB, free: 74.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.787e-06/5.588, allocations: 0 / 3.001 GB, free: 74.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.473e-05/5.588, allocations: 24 kB / 3.001 GB, free: 74.96 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.001953/5.59, allocations: 1.059 MB / 3.002 GB, free: 73.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/5.591, allocations: 8.031 kB / 3.002 GB, free: 73.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/5.591, allocations: 194.4 kB / 3.002 GB, free: 73.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/5.592, allocations: 0.6114 MB / 3.003 GB, free: 73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/5.592, allocations: 58 kB / 3.003 GB, free: 72.94 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/5.593, allocations: 72 kB / 3.003 GB, free: 72.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/5.594, allocations: 0.8328 MB / 3.004 GB, free: 72 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/5.594, allocations: 0 / 3.004 GB, free: 72 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/5.594, allocations: 32 kB / 3.004 GB, free: 71.97 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/5.594, allocations: 23.95 kB / 3.004 GB, free: 71.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/5.595, allocations: 1.034 MB / 3.005 GB, free: 70.91 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/5.598, allocations: 2.403 MB / 3.007 GB, free: 68.44 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009884/5.599, allocations: 0.7623 MB / 3.008 GB, free: 67.65 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/5.6, allocations: 258.4 kB / 3.008 GB, free: 67.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/5.6, allocations: 36.58 kB / 3.008 GB, free: 67.36 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/5.6, allocations: 406.1 kB / 3.009 GB, free: 66.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/5.6, allocations: 0 / 3.009 GB, free: 66.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001468/5.602, allocations: 0.6914 MB / 3.009 GB, free: 66.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/5.602, allocations: 244.1 kB / 3.009 GB, free: 65.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/5.603, allocations: 0.5738 MB / 3.01 GB, free: 65.37 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/5.603, allocations: 41.7 kB / 3.01 GB, free: 65.32 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/5.603, allocations: 376.3 kB / 3.01 GB, free: 64.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/5.603, allocations: 236.5 kB / 3.011 GB, free: 64.71 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/5.603, allocations: 12 kB / 3.011 GB, free: 64.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001081/5.603, allocations: 378.8 kB / 3.011 GB, free: 64.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/5.604, allocations: 197.5 kB / 3.011 GB, free: 64.13 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/5.604, allocations: 305.1 kB / 3.011 GB, free: 63.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/5.604, allocations: 242 kB / 3.012 GB, free: 63.56 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/5.604, allocations: 0 / 3.012 GB, free: 63.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001274/5.606, allocations: 0.6837 MB / 3.012 GB, free: 62.87 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/5.606, allocations: 8 kB / 3.012 GB, free: 62.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/5.606, allocations: 0 / 3.012 GB, free: 62.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/5.606, allocations: 80.84 kB / 3.012 GB, free: 62.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/5.607, allocations: 147.7 kB / 3.013 GB, free: 62.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/5.608, allocations: 1.512 MB / 3.014 GB, free: 60.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/5.609, allocations: 87.44 kB / 3.014 GB, free: 60.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/5.609, allocations: 27.98 kB / 3.014 GB, free: 60.86 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.0001716/5.609, allocations: 138 kB / 3.014 GB, free: 60.72 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/5.609, allocations: 83.05 kB / 3.014 GB, free: 60.64 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/5.611, allocations: 0.9733 MB / 3.015 GB, free: 59.65 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/5.611, allocations: 8 kB / 3.015 GB, free: 59.64 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/5.611, allocations: 0 / 3.015 GB, free: 59.64 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/5.611, allocations: 3.984 kB / 3.015 GB, free: 59.64 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/5.614, allocations: 1.858 MB / 3.017 GB, free: 57.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/5.614, allocations: 0 / 3.017 GB, free: 57.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/5.614, allocations: 143.8 kB / 3.017 GB, free: 57.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/5.615, allocations: 84.77 kB / 3.017 GB, free: 57.49 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/5.615, allocations: 23.98 kB / 3.017 GB, free: 57.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/5.616, allocations: 1.556 MB / 3.019 GB, free: 55.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/5.616, allocations: 0 / 3.019 GB, free: 55.77 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/5.618, allocations: 0.8689 MB / 3.02 GB, free: 54.89 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/5.618, allocations: 283.7 kB / 3.02 GB, free: 54.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.314e-05/5.618, allocations: 16 kB / 3.02 GB, free: 54.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/5.619, allocations: 67.94 kB / 3.02 GB, free: 54.51 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/5.619, allocations: 60.7 kB / 3.02 GB, free: 54.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/5.619, allocations: 31.97 kB / 3.02 GB, free: 54.42 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005366/5.619, allocations: 475.1 kB / 3.021 GB, free: 53.96 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.619, allocations: 0 / 3.021 GB, free: 53.96 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001149/5.621, allocations: 359.2 kB / 3.021 GB, free: 53.61 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.001741/5.622, allocations: 1.034 MB / 3.022 GB, free: 52.72 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001136/5.624, allocations: 0.6749 MB / 3.023 GB, free: 52.04 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/5.624, allocations: 4 kB / 3.023 GB, free: 52.03 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/5.624, allocations: 482.9 kB / 3.023 GB, free: 51.55 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/5.625, allocations: 232 kB / 3.023 GB, free: 51.32 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/5.628, allocations: 1.32 MB / 3.025 GB, free: 49.97 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/5.628, allocations: 1.024 MB / 3.026 GB, free: 48.93 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007802/5.629, allocations: 254.1 kB / 3.026 GB, free: 48.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/5.629, allocations: 95.39 kB / 3.026 GB, free: 48.58 MB / 1.151 GB Notification: Performance of SimCode: time 1.512e-06/5.629, allocations: 0 / 3.026 GB, free: 48.58 MB / 1.151 GB Notification: Performance of Templates: time 0.03093/5.66, allocations: 21.92 MB / 3.047 GB, free: 26.76 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