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.267/2.267, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001074/0.001074, allocations: 184.8 kB / 487.4 MB, free: 5.062 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.424/1.424, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0009482/0.0009482, allocations: 110.1 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.414e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2584, allocations: 142.3 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.022/5.28, allocations: 1.73 GB / 2.936 GB, free: 154.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.281, allocations: 83.95 kB / 2.936 GB, free: 154.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1396/5.42, allocations: 62.6 MB / 2.997 GB, free: 91.47 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.405e-06/5.42, allocations: 0 / 2.997 GB, free: 91.47 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001333/5.421, allocations: 23.94 kB / 2.997 GB, free: 91.45 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002791/5.423, allocations: 1.051 MB / 2.998 GB, free: 90.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/5.423, allocations: 12.55 kB / 2.998 GB, free: 90.33 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/5.425, allocations: 186.5 kB / 2.998 GB, free: 90.15 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/5.426, allocations: 0.6036 MB / 2.999 GB, free: 89.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/5.426, allocations: 28 kB / 2.999 GB, free: 89.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/5.426, allocations: 44 kB / 2.999 GB, free: 89.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001602/5.428, allocations: 0.9718 MB / 3 GB, free: 88.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/5.429, allocations: 0.7154 MB / 3.001 GB, free: 87.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/5.429, allocations: 0 / 3.001 GB, free: 87.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/5.43, allocations: 7.953 kB / 3.001 GB, free: 87.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/5.43, allocations: 20 kB / 3.001 GB, free: 87.68 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004076/5.434, allocations: 2.279 MB / 3.003 GB, free: 85.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/5.435, allocations: 0.7296 MB / 3.004 GB, free: 84.58 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/5.435, allocations: 242.4 kB / 3.004 GB, free: 84.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.476e-05/5.435, allocations: 32.58 kB / 3.004 GB, free: 84.31 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/5.436, allocations: 376.8 kB / 3.004 GB, free: 83.93 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/5.436, allocations: 0 / 3.004 GB, free: 83.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001568/5.437, allocations: 0.6405 MB / 3.005 GB, free: 83.27 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/5.437, allocations: 239.9 kB / 3.005 GB, free: 82.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/5.438, allocations: 498.3 kB / 3.005 GB, free: 82.49 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/5.438, allocations: 25.7 kB / 3.005 GB, free: 82.46 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/5.439, allocations: 372.2 kB / 3.006 GB, free: 82.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/5.439, allocations: 224.6 kB / 3.006 GB, free: 81.87 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/5.439, allocations: 0 / 3.006 GB, free: 81.87 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001197/5.439, allocations: 374.8 kB / 3.006 GB, free: 81.49 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/5.439, allocations: 185.5 kB / 3.007 GB, free: 81.31 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/5.439, allocations: 283.5 kB / 3.007 GB, free: 81 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/5.44, allocations: 236.4 kB / 3.007 GB, free: 80.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/5.44, allocations: 0 / 3.007 GB, free: 80.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001305/5.441, allocations: 0.6407 MB / 3.008 GB, free: 80.12 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/5.441, allocations: 4 kB / 3.008 GB, free: 80.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/5.441, allocations: 0 / 3.008 GB, free: 80.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/5.442, allocations: 84.83 kB / 3.008 GB, free: 80.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/5.442, allocations: 131.9 kB / 3.008 GB, free: 79.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/5.444, allocations: 1.469 MB / 3.009 GB, free: 78.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/5.445, allocations: 55.53 kB / 3.009 GB, free: 78.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/5.445, allocations: 31.98 kB / 3.009 GB, free: 78.22 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 (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.0001807/5.445, allocations: 114.9 kB / 3.01 GB, free: 78.11 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/5.445, allocations: 79.17 kB / 3.01 GB, free: 78.03 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/5.447, allocations: 0.8672 MB / 3.01 GB, free: 77.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/5.447, allocations: 8 kB / 3.01 GB, free: 77.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/5.447, allocations: 4 kB / 3.01 GB, free: 77.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/5.447, allocations: 4.078 kB / 3.01 GB, free: 77.13 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/5.45, allocations: 1.695 MB / 3.012 GB, free: 75.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/5.45, allocations: 3.938 kB / 3.012 GB, free: 75.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/5.45, allocations: 139.8 kB / 3.012 GB, free: 75.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/5.451, allocations: 84.78 kB / 3.012 GB, free: 75.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/5.451, allocations: 15.98 kB / 3.012 GB, free: 75.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/5.452, allocations: 1.497 MB / 3.014 GB, free: 73.53 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/5.452, allocations: 0 / 3.014 GB, free: 73.53 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/5.454, allocations: 0.7988 MB / 3.015 GB, free: 72.71 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/5.454, allocations: 283.8 kB / 3.015 GB, free: 72.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/5.454, allocations: 0 / 3.015 GB, free: 72.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/5.455, allocations: 55.94 kB / 3.015 GB, free: 72.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/5.455, allocations: 56.7 kB / 3.015 GB, free: 72.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/5.455, allocations: 31.98 kB / 3.015 GB, free: 72.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004753/5.455, allocations: 394.9 kB / 3.015 GB, free: 71.89 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.456, allocations: 4 kB / 3.015 GB, free: 71.88 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001237/5.457, allocations: 323.1 kB / 3.016 GB, free: 71.57 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 (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.002456/5.459, allocations: 1.073 MB / 3.017 GB, free: 70.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001227/5.46, allocations: 0.6279 MB / 3.017 GB, free: 69.96 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/5.46, allocations: 0 / 3.017 GB, free: 69.96 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000641/5.461, allocations: 448.4 kB / 3.018 GB, free: 69.51 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/5.462, allocations: 226.2 kB / 3.018 GB, free: 69.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/5.466, allocations: 1.266 MB / 3.019 GB, free: 68 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/5.466, allocations: 1.011 MB / 3.02 GB, free: 66.96 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008889/5.467, allocations: 257.4 kB / 3.02 GB, free: 66.71 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/5.468, allocations: 87.39 kB / 3.021 GB, free: 66.62 MB / 1.151 GB Notification: Performance of SimCode: time 1.563e-06/5.468, allocations: 0 / 3.021 GB, free: 66.62 MB / 1.151 GB Notification: Performance of Templates: time 0.02822/5.496, allocations: 15.37 MB / 3.036 GB, free: 51.37 MB / 1.151 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