Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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.384/2.384, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001744/0.001744, allocations: 177 kB / 498.1 MB, free: 5.73 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.622/1.622, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001125/0.001125, allocations: 100.3 kB / 0.9346 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 10.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3567, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.761/5.118, allocations: 1.731 GB / 2.953 GB, free: 253.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/5.119, allocations: 87.45 kB / 2.953 GB, free: 253.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1283/5.247, allocations: 63.75 MB / 3.016 GB, free: 199.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.885e-06/5.247, allocations: 0 / 3.016 GB, free: 199.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.734e-05/5.247, allocations: 24 kB / 3.016 GB, free: 199 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001984/5.249, allocations: 1.166 MB / 3.017 GB, free: 197.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/5.249, allocations: 16.02 kB / 3.017 GB, free: 197.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/5.25, allocations: 190.5 kB / 3.017 GB, free: 197.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/5.251, allocations: 0.6032 MB / 3.018 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/5.251, allocations: 56 kB / 3.018 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/5.251, allocations: 80.62 kB / 3.018 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/5.252, allocations: 0.8507 MB / 3.019 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/5.252, allocations: 0 / 3.019 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/5.252, allocations: 37.33 kB / 3.019 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/5.252, allocations: 23.94 kB / 3.019 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/5.254, allocations: 1.067 MB / 3.02 GB, free: 195.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/5.257, allocations: 2.415 MB / 3.022 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/5.258, allocations: 0.8164 MB / 3.023 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.007e-05/5.258, allocations: 24.59 kB / 3.023 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/5.259, allocations: 431.8 kB / 3.023 GB, free: 192.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.225e-06/5.259, allocations: 0 / 3.023 GB, free: 192.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.00261/5.261, allocations: 1.092 MB / 3.024 GB, free: 191.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/5.261, allocations: 243.9 kB / 3.025 GB, free: 191.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/5.262, allocations: 0.5775 MB / 3.025 GB, free: 191.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/5.262, allocations: 40.45 kB / 3.025 GB, free: 191 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/5.262, allocations: 368.7 kB / 3.026 GB, free: 190.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/5.262, allocations: 233.7 kB / 3.026 GB, free: 190.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/5.262, allocations: 15 kB / 3.026 GB, free: 190.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/5.263, allocations: 374.6 kB / 3.026 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/5.263, allocations: 219.6 kB / 3.026 GB, free: 190.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/5.263, allocations: 327.4 kB / 3.027 GB, free: 189.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/5.264, allocations: 265.4 kB / 3.027 GB, free: 189.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/5.264, allocations: 3.938 kB / 3.027 GB, free: 189.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001428/5.265, allocations: 0.7155 MB / 3.028 GB, free: 189.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/5.265, allocations: 9.406 kB / 3.028 GB, free: 189.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/5.265, allocations: 0 / 3.028 GB, free: 189.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/5.266, allocations: 88.27 kB / 3.028 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/5.266, allocations: 130.9 kB / 3.028 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/5.268, allocations: 1.543 MB / 3.029 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/5.269, allocations: 78.33 kB / 3.029 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/5.269, allocations: 27.61 kB / 3.03 GB, free: 187.3 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0003966/5.269, allocations: 247.5 kB / 3.03 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/5.269, allocations: 79.06 kB / 3.03 GB, free: 187 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/5.271, allocations: 0.9858 MB / 3.031 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/5.271, allocations: 8 kB / 3.031 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/5.271, allocations: 0 / 3.031 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/5.271, allocations: 3.984 kB / 3.031 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/5.274, allocations: 1.9 MB / 3.033 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/5.274, allocations: 0 / 3.033 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/5.274, allocations: 146.4 kB / 3.033 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/5.275, allocations: 80.98 kB / 3.033 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/5.275, allocations: 33.98 kB / 3.033 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/5.276, allocations: 1.57 MB / 3.034 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/5.276, allocations: 3.984 kB / 3.034 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/5.278, allocations: 0.9113 MB / 3.035 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/5.278, allocations: 279.9 kB / 3.036 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/5.278, allocations: 13.88 kB / 3.036 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/5.279, allocations: 72.45 kB / 3.036 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/5.279, allocations: 58.03 kB / 3.036 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/5.279, allocations: 31.3 kB / 3.036 GB, free: 182 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005373/5.28, allocations: 478.3 kB / 3.036 GB, free: 181.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/5.28, allocations: 0 / 3.036 GB, free: 181.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00105/5.281, allocations: 356.1 kB / 3.037 GB, free: 181.3 MB / 1.167 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.00173/5.282, allocations: 1.064 MB / 3.038 GB, free: 180.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001296/5.284, allocations: 0.7143 MB / 3.038 GB, free: 179.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/5.284, allocations: 0 / 3.038 GB, free: 179.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/5.284, allocations: 491.6 kB / 3.039 GB, free: 179.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/5.285, allocations: 233.7 kB / 3.039 GB, free: 179.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/5.289, allocations: 2.032 MB / 3.041 GB, free: 177.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/5.289, allocations: 1.018 MB / 3.042 GB, free: 176.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000732/5.29, allocations: 253.9 kB / 3.042 GB, free: 176.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/5.29, allocations: 93.83 kB / 3.042 GB, free: 176.1 MB / 1.167 GB Notification: Performance of SimCode: time 5.81e-07/5.29, allocations: 3.938 kB / 3.042 GB, free: 176.1 MB / 1.167 GB Notification: Performance of Templates: time 0.02533/5.315, allocations: 20.16 MB / 3.062 GB, free: 156.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches