Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 179.5 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 90.34 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.916e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2651, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.33, allocations: 139.4 MB / 1.021 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/1.331, allocations: 78.27 kB / 1.021 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05598/1.387, allocations: 18.21 MB / 1.039 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.393e-06/1.387, allocations: 4 kB / 1.039 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.048e-05/1.387, allocations: 12 kB / 1.039 GB, free: 15.36 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002269/1.389, allocations: 0.8792 MB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/1.389, allocations: 8.031 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/1.389, allocations: 83.06 kB / 1.04 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003988/1.393, allocations: 1.593 MB / 1.042 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007077/1.394, allocations: 400.8 kB / 1.042 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/1.394, allocations: 32 kB / 1.042 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008242/1.395, allocations: 457.2 kB / 1.043 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/1.396, allocations: 0.5418 MB / 1.043 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.396, allocations: 0 / 1.043 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/1.396, allocations: 0 / 1.043 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/1.396, allocations: 20 kB / 1.043 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/1.4, allocations: 1.851 MB / 1.045 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/1.403, allocations: 0.8607 MB / 1.046 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/1.403, allocations: 271.1 kB / 1.046 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-05/1.404, allocations: 31.11 kB / 1.046 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.404, allocations: 45.5 kB / 1.046 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.454e-06/1.404, allocations: 0 / 1.046 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.001105/1.405, allocations: 0.5245 MB / 1.047 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/1.405, allocations: 136.5 kB / 1.047 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/1.405, allocations: 290.6 kB / 1.047 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/1.405, allocations: 33.7 kB / 1.047 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.405, allocations: 244.2 kB / 1.047 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/1.406, allocations: 231.6 kB / 1.048 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/1.406, allocations: 0 / 1.048 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.406, allocations: 357.5 kB / 1.048 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/1.406, allocations: 173 kB / 1.048 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/1.406, allocations: 232 kB / 1.048 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/1.407, allocations: 194.3 kB / 1.048 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.407, allocations: 4 kB / 1.048 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008718/1.408, allocations: 0.5263 MB / 1.049 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.408, allocations: 4 kB / 1.049 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.408, allocations: 0 / 1.049 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.408, allocations: 4 kB / 1.049 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.409, allocations: 190.5 kB / 1.049 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.409, allocations: 4 kB / 1.049 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/1.41, allocations: 79.52 kB / 1.049 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/1.41, allocations: 27.41 kB / 1.049 GB, free: 6.805 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.41, allocations: 120.8 kB / 1.049 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/1.41, allocations: 50.69 kB / 1.049 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/1.412, allocations: 0.9292 MB / 1.05 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.412, allocations: 12 kB / 1.05 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.412, allocations: 0 / 1.05 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.412, allocations: 11.91 kB / 1.05 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.413, allocations: 0.6758 MB / 1.051 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.413, allocations: 7.984 kB / 1.051 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.414, allocations: 233.2 kB / 1.051 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.414, allocations: 8 kB / 1.051 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/1.414, allocations: 15.34 kB / 1.051 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/1.414, allocations: 8 kB / 1.051 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.414, allocations: 0 / 1.051 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/1.415, allocations: 1.057 MB / 1.052 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/1.416, allocations: 255.9 kB / 1.053 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/1.416, allocations: 3.984 kB / 1.053 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/1.417, allocations: 51.94 kB / 1.053 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.417, allocations: 86.45 kB / 1.053 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/1.417, allocations: 39.16 kB / 1.053 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003061/1.417, allocations: 265.6 kB / 1.053 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.417, allocations: 4 kB / 1.053 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009191/1.418, allocations: 203.4 kB / 1.053 GB, free: 3.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007452/1.419, allocations: 304 kB / 1.053 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009362/1.42, allocations: 0.5457 MB / 1.054 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.42, allocations: 0 / 1.054 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005462/1.42, allocations: 387.5 kB / 1.054 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/1.421, allocations: 27 kB / 1.054 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/1.423, allocations: 0.8849 MB / 1.055 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/1.423, allocations: 0.9484 MB / 1.056 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004974/1.424, allocations: 112.8 kB / 1.056 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/1.424, allocations: 97.73 kB / 1.056 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of SimCode: time 4.61e-07/1.424, allocations: 3.938 kB / 1.056 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of Templates: time 0.01513/1.439, allocations: 7.725 MB / 1.064 GB, free: 8.848 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches