Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_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_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.159/2.159, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001071/0.001071, allocations: 188.8 kB / 492.3 MB, free: 0.6094 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.535/1.535, allocations: 221.3 MB / 0.7872 GB, free: 12.9 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.0009028/0.0009028, allocations: 94.02 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.148e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3523, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.308/5.661, allocations: 1.732 GB / 2.944 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/5.661, allocations: 95.31 kB / 2.944 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1237/5.785, allocations: 59.73 MB / 3.003 GB, free: 52.95 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.255e-06/5.785, allocations: 3.938 kB / 3.003 GB, free: 52.94 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.894e-05/5.785, allocations: 24 kB / 3.003 GB, free: 52.92 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00166/5.786, allocations: 1.079 MB / 3.004 GB, free: 51.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/5.787, allocations: 8.031 kB / 3.004 GB, free: 51.79 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/5.787, allocations: 186.5 kB / 3.004 GB, free: 51.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/5.788, allocations: 0.6153 MB / 3.004 GB, free: 50.94 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/5.788, allocations: 62 kB / 3.004 GB, free: 50.88 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/5.788, allocations: 80 kB / 3.005 GB, free: 50.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/5.789, allocations: 0.8483 MB / 3.005 GB, free: 49.91 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/5.789, allocations: 3.984 kB / 3.005 GB, free: 49.91 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/5.79, allocations: 39.98 kB / 3.005 GB, free: 49.87 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/5.79, allocations: 23.95 kB / 3.005 GB, free: 49.85 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/5.791, allocations: 1.054 MB / 3.006 GB, free: 48.79 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/5.794, allocations: 2.543 MB / 3.009 GB, free: 46.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/5.795, allocations: 0.7126 MB / 3.01 GB, free: 45.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/5.796, allocations: 267.1 kB / 3.01 GB, free: 45.19 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.514e-05/5.796, allocations: 32.73 kB / 3.01 GB, free: 45.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/5.796, allocations: 429.3 kB / 3.01 GB, free: 44.72 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.194e-06/5.796, allocations: 0 / 3.01 GB, free: 44.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001552/5.798, allocations: 0.7109 MB / 3.011 GB, free: 44 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/5.798, allocations: 244.1 kB / 3.011 GB, free: 43.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/5.799, allocations: 0.5894 MB / 3.012 GB, free: 43.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/5.799, allocations: 37.7 kB / 3.012 GB, free: 43.06 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/5.799, allocations: 388.2 kB / 3.012 GB, free: 42.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/5.799, allocations: 252.3 kB / 3.013 GB, free: 42.43 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/5.799, allocations: 16 kB / 3.013 GB, free: 42.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001147/5.799, allocations: 378.8 kB / 3.013 GB, free: 42.03 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/5.799, allocations: 209.5 kB / 3.013 GB, free: 41.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/5.8, allocations: 325.1 kB / 3.013 GB, free: 41.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/5.8, allocations: 258 kB / 3.014 GB, free: 41.23 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/5.8, allocations: 0 / 3.014 GB, free: 41.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001333/5.802, allocations: 0.7227 MB / 3.014 GB, free: 40.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/5.802, allocations: 13.34 kB / 3.014 GB, free: 40.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/5.802, allocations: 0 / 3.014 GB, free: 40.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/5.802, allocations: 80.84 kB / 3.014 GB, free: 40.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/5.803, allocations: 147.8 kB / 3.015 GB, free: 40.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/5.804, allocations: 1.513 MB / 3.016 GB, free: 38.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/5.805, allocations: 87.44 kB / 3.016 GB, free: 38.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/5.805, allocations: 27.97 kB / 3.016 GB, free: 38.49 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 (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.0001655/5.805, allocations: 148.8 kB / 3.016 GB, free: 38.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/5.805, allocations: 79.06 kB / 3.016 GB, free: 38.26 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/5.807, allocations: 1.001 MB / 3.017 GB, free: 37.24 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/5.807, allocations: 12 kB / 3.017 GB, free: 37.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/5.807, allocations: 3.953 kB / 3.017 GB, free: 37.22 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/5.807, allocations: 3.984 kB / 3.017 GB, free: 37.22 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/5.81, allocations: 1.889 MB / 3.019 GB, free: 35.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/5.81, allocations: 0 / 3.019 GB, free: 35.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/5.81, allocations: 151.8 kB / 3.019 GB, free: 35.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/5.811, allocations: 92.7 kB / 3.019 GB, free: 35.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/5.811, allocations: 19.98 kB / 3.019 GB, free: 35.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/5.812, allocations: 1.544 MB / 3.021 GB, free: 33.33 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/5.812, allocations: 0 / 3.021 GB, free: 33.33 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/5.814, allocations: 0.8884 MB / 3.022 GB, free: 32.42 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/5.814, allocations: 287.7 kB / 3.022 GB, free: 32.12 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/5.815, allocations: 20 kB / 3.022 GB, free: 32.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/5.815, allocations: 63.95 kB / 3.022 GB, free: 32.04 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/5.815, allocations: 64.64 kB / 3.022 GB, free: 31.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/5.815, allocations: 31.98 kB / 3.022 GB, free: 31.94 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006122/5.816, allocations: 491.1 kB / 3.023 GB, free: 31.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.816, allocations: 4 kB / 3.023 GB, free: 31.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001186/5.817, allocations: 359.2 kB / 3.023 GB, free: 31.11 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 (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.002259/5.819, allocations: 1.029 MB / 3.024 GB, free: 30.23 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001386/5.821, allocations: 0.6985 MB / 3.025 GB, free: 29.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/5.821, allocations: 3.938 kB / 3.025 GB, free: 29.52 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007934/5.822, allocations: 491 kB / 3.025 GB, free: 29.02 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/5.823, allocations: 241.8 kB / 3.026 GB, free: 28.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/5.827, allocations: 1.344 MB / 3.027 GB, free: 27.42 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/5.827, allocations: 1.028 MB / 3.028 GB, free: 26.36 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009192/5.828, allocations: 254.2 kB / 3.028 GB, free: 26.11 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/5.828, allocations: 99.39 kB / 3.028 GB, free: 26.01 MB / 1.151 GB Notification: Performance of SimCode: time 1.222e-06/5.828, allocations: 0 / 3.028 GB, free: 26.01 MB / 1.151 GB Notification: Performance of Templates: time 0.03349/5.862, allocations: 22.22 MB / 3.05 GB, free: 3.902 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches