Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.296/2.296, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001309/0.001309, allocations: 183.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001148/0.001148, allocations: 95.33 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.404e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3488, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.533/5.882, allocations: 1.733 GB / 2.951 GB, free: 81.56 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/5.882, allocations: 96.75 kB / 2.951 GB, free: 81.46 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1693/6.052, allocations: 59.73 MB / 3.01 GB, free: 21.46 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/6.052, allocations: 0 / 3.01 GB, free: 21.46 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.194e-05/6.052, allocations: 24 kB / 3.01 GB, free: 21.44 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001793/6.054, allocations: 1.075 MB / 3.011 GB, free: 20.32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/6.054, allocations: 12.03 kB / 3.011 GB, free: 20.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008345/6.055, allocations: 186.5 kB / 3.011 GB, free: 20.12 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/6.055, allocations: 0.6114 MB / 3.012 GB, free: 19.47 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/6.055, allocations: 62 kB / 3.012 GB, free: 19.41 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.995e-05/6.056, allocations: 76 kB / 3.012 GB, free: 19.33 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/6.057, allocations: 0.856 MB / 3.013 GB, free: 18.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/6.057, allocations: 3.984 kB / 3.013 GB, free: 18.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/6.057, allocations: 39.95 kB / 3.013 GB, free: 18.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/6.057, allocations: 20 kB / 3.013 GB, free: 18.38 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/6.058, allocations: 1.058 MB / 3.014 GB, free: 17.31 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/6.061, allocations: 2.543 MB / 3.016 GB, free: 14.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/6.062, allocations: 0.713 MB / 3.017 GB, free: 13.97 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/6.063, allocations: 271.5 kB / 3.017 GB, free: 13.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-05/6.063, allocations: 32.73 kB / 3.017 GB, free: 13.67 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005665/6.063, allocations: 429.3 kB / 3.018 GB, free: 13.23 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/6.063, allocations: 0 / 3.018 GB, free: 13.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.001524/6.065, allocations: 0.7109 MB / 3.018 GB, free: 12.52 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/6.065, allocations: 240.1 kB / 3.018 GB, free: 12.22 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/6.066, allocations: 0.5893 MB / 3.019 GB, free: 11.63 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/6.066, allocations: 45.69 kB / 3.019 GB, free: 11.58 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/6.066, allocations: 376.3 kB / 3.019 GB, free: 11.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/6.066, allocations: 252.4 kB / 3.02 GB, free: 10.95 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/6.066, allocations: 8 kB / 3.02 GB, free: 10.95 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/6.066, allocations: 386.8 kB / 3.02 GB, free: 10.56 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/6.067, allocations: 205.5 kB / 3.02 GB, free: 10.36 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/6.067, allocations: 329 kB / 3.021 GB, free: 10.01 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/6.067, allocations: 258 kB / 3.021 GB, free: 9.758 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/6.067, allocations: 3.953 kB / 3.021 GB, free: 9.754 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001378/6.069, allocations: 0.7265 MB / 3.022 GB, free: 9.016 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/6.069, allocations: 4 kB / 3.022 GB, free: 9.012 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/6.069, allocations: 0 / 3.022 GB, free: 9.012 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/6.069, allocations: 84.84 kB / 3.022 GB, free: 8.926 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/6.07, allocations: 151.8 kB / 3.022 GB, free: 8.777 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/6.072, allocations: 1.517 MB / 3.023 GB, free: 7.117 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/6.072, allocations: 79.34 kB / 3.023 GB, free: 7.039 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/6.072, allocations: 43.92 kB / 3.023 GB, free: 6.996 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0001673/6.072, allocations: 142.1 kB / 3.023 GB, free: 6.852 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/6.073, allocations: 75.06 kB / 3.024 GB, free: 6.777 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/6.075, allocations: 1.009 MB / 3.025 GB, free: 5.754 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/6.075, allocations: 11.95 kB / 3.025 GB, free: 5.742 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/6.075, allocations: 0 / 3.025 GB, free: 5.742 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/6.075, allocations: 7.969 kB / 3.025 GB, free: 5.734 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/6.077, allocations: 1.878 MB / 3.026 GB, free: 3.797 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/6.077, allocations: 4 kB / 3.026 GB, free: 3.793 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/6.078, allocations: 147.8 kB / 3.027 GB, free: 3.648 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/6.078, allocations: 84.77 kB / 3.027 GB, free: 3.562 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/6.078, allocations: 23.98 kB / 3.027 GB, free: 3.539 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/6.08, allocations: 1.548 MB / 3.028 GB, free: 1.852 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/6.08, allocations: 0 / 3.028 GB, free: 1.852 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/6.081, allocations: 0.8806 MB / 3.029 GB, free: 0.9492 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/6.082, allocations: 291.7 kB / 3.029 GB, free: 0.6445 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/6.082, allocations: 16 kB / 3.029 GB, free: 0.6289 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/6.082, allocations: 75.84 kB / 3.029 GB, free: 0.5547 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/6.082, allocations: 56.69 kB / 3.029 GB, free: 0.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/6.082, allocations: 31.98 kB / 3.029 GB, free: 480 kB / 1.167 GB Notification: Performance of sorting global known variables: time 0.7208/6.803, allocations: 487 kB / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/6.803, allocations: 0 / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001833/6.805, allocations: 365.2 kB / 3.03 GB, free: 400 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.002046/6.807, allocations: 1.024 MB / 3.031 GB, free: 399.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001724/6.809, allocations: 0.7085 MB / 3.032 GB, free: 399.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/6.809, allocations: 0.5938 kB / 3.032 GB, free: 399.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/6.81, allocations: 479.9 kB / 3.032 GB, free: 399.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/6.811, allocations: 236.7 kB / 3.033 GB, free: 399.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/6.814, allocations: 1.357 MB / 3.034 GB, free: 399.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/6.815, allocations: 1.031 MB / 3.035 GB, free: 398.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000932/6.816, allocations: 258.9 kB / 3.035 GB, free: 398.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/6.816, allocations: 100.6 kB / 3.035 GB, free: 398.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.82e-07/6.816, allocations: 0 / 3.035 GB, free: 398.6 MB / 1.167 GB Notification: Performance of Templates: time 0.04841/6.865, allocations: 22.21 MB / 3.057 GB, free: 397.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches