Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 387.4 MB / 394.9 MB, free: 13.46 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.001095/0.001094, allocations: 188.7 kB / 487.4 MB, free: 5.086 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.444/1.444, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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.0009372/0.0009372, allocations: 107.6 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.718e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3299, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.37/5.7, allocations: 1.732 GB / 2.938 GB, free: 125.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/5.7, allocations: 87.81 kB / 2.938 GB, free: 125.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2319/5.932, allocations: 93.46 MB / 3.029 GB, free: 37.93 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.545e-06/5.932, allocations: 0 / 3.029 GB, free: 37.93 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.186e-05/5.932, allocations: 39.94 kB / 3.029 GB, free: 37.89 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002517/5.935, allocations: 1.399 MB / 3.03 GB, free: 36.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/5.935, allocations: 12.03 kB / 3.03 GB, free: 36.43 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009631/5.936, allocations: 245.8 kB / 3.031 GB, free: 36.19 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/5.937, allocations: 0.7754 MB / 3.031 GB, free: 35.37 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/5.937, allocations: 47.98 kB / 3.031 GB, free: 35.32 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/5.937, allocations: 80 kB / 3.031 GB, free: 35.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/5.939, allocations: 1.372 MB / 3.033 GB, free: 33.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/5.941, allocations: 1.177 MB / 3.034 GB, free: 32.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/5.941, allocations: 3.938 kB / 3.034 GB, free: 32.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/5.941, allocations: 7.953 kB / 3.034 GB, free: 32.63 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/5.941, allocations: 32 kB / 3.034 GB, free: 32.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00551/5.947, allocations: 3.565 MB / 3.037 GB, free: 28.98 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/5.948, allocations: 0.8532 MB / 3.038 GB, free: 28.11 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/5.948, allocations: 353.7 kB / 3.039 GB, free: 27.76 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/5.948, allocations: 49.3 kB / 3.039 GB, free: 27.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008005/5.949, allocations: 0.5303 MB / 3.039 GB, free: 27.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 4.578e-06/5.949, allocations: 0 / 3.039 GB, free: 27.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.002142/5.951, allocations: 0.9107 MB / 3.04 GB, free: 26.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/5.951, allocations: 248.6 kB / 3.04 GB, free: 25.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/5.952, allocations: 0.5818 MB / 3.041 GB, free: 25.36 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/5.952, allocations: 25.7 kB / 3.041 GB, free: 25.32 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/5.953, allocations: 0.562 MB / 3.041 GB, free: 24.75 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/5.953, allocations: 335 kB / 3.042 GB, free: 24.42 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/5.953, allocations: 0 / 3.042 GB, free: 24.42 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001555/5.953, allocations: 386.8 kB / 3.042 GB, free: 24.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/5.954, allocations: 298.6 kB / 3.042 GB, free: 23.74 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/5.954, allocations: 424.3 kB / 3.043 GB, free: 23.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/5.955, allocations: 370.4 kB / 3.043 GB, free: 22.94 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/5.955, allocations: 0 / 3.043 GB, free: 22.94 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001853/5.956, allocations: 0.9575 MB / 3.044 GB, free: 21.97 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/5.957, allocations: 8 kB / 3.044 GB, free: 21.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/5.957, allocations: 0 / 3.044 GB, free: 21.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/5.957, allocations: 80.84 kB / 3.044 GB, free: 21.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/5.958, allocations: 223.7 kB / 3.044 GB, free: 21.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/5.96, allocations: 1.473 MB / 3.046 GB, free: 20.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/5.961, allocations: 83.28 kB / 3.046 GB, free: 19.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/5.961, allocations: 43.95 kB / 3.046 GB, free: 19.94 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 (116): * Single equations (assignments): 115 * 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.0002214/5.961, allocations: 130.2 kB / 3.046 GB, free: 19.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/5.961, allocations: 90.88 kB / 3.046 GB, free: 19.71 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/5.964, allocations: 1.28 MB / 3.047 GB, free: 18.42 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/5.964, allocations: 15.98 kB / 3.047 GB, free: 18.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/5.964, allocations: 0 / 3.047 GB, free: 18.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/5.964, allocations: 7.969 kB / 3.047 GB, free: 18.39 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/5.967, allocations: 2.327 MB / 3.05 GB, free: 16.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/5.967, allocations: 3.938 kB / 3.05 GB, free: 16.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/5.968, allocations: 199.7 kB / 3.05 GB, free: 15.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/5.969, allocations: 80.78 kB / 3.05 GB, free: 15.73 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/5.969, allocations: 19.97 kB / 3.05 GB, free: 15.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/5.97, allocations: 1.492 MB / 3.051 GB, free: 14.11 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/5.97, allocations: 0 / 3.051 GB, free: 14.11 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/5.972, allocations: 1.075 MB / 3.052 GB, free: 13.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/5.972, allocations: 347.3 kB / 3.053 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/5.973, allocations: 4.141 kB / 3.053 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/5.973, allocations: 51.95 kB / 3.053 GB, free: 12.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/5.973, allocations: 85.17 kB / 3.053 GB, free: 12.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/5.974, allocations: 39.98 kB / 3.053 GB, free: 12.47 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006677/5.974, allocations: 0.4952 MB / 3.053 GB, free: 11.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.974, allocations: 0 / 3.053 GB, free: 11.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001633/5.976, allocations: 434.4 kB / 3.054 GB, free: 11.55 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 (115): * Single equations (assignments): 112 * 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.001996/5.978, allocations: 1.08 MB / 3.055 GB, free: 10.58 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001504/5.979, allocations: 0.91 MB / 3.056 GB, free: 9.66 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/5.979, allocations: 7.875 kB / 3.056 GB, free: 9.652 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/5.98, allocations: 0.5572 MB / 3.056 GB, free: 9.086 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/5.981, allocations: 227.1 kB / 3.057 GB, free: 8.875 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/5.985, allocations: 1.779 MB / 3.058 GB, free: 7.066 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/5.986, allocations: 1.189 MB / 3.06 GB, free: 5.848 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001123/5.987, allocations: 299.6 kB / 3.06 GB, free: 5.551 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/5.987, allocations: 127.4 kB / 3.06 GB, free: 5.426 MB / 1.151 GB Notification: Performance of SimCode: time 1.242e-06/5.987, allocations: 0 / 3.06 GB, free: 5.426 MB / 1.151 GB Notification: Performance of Templates: time 0.8478/6.835, allocations: 18.78 MB / 3.078 GB, free: 385.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches