Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_9_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_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001464/0.001464, allocations: 184.8 kB / 487.4 MB, free: 5.012 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.46/1.46, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.001059/0.00106, allocations: 91.91 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.098e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3169, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.424, allocations: 155.7 MB / 1.358 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.424, allocations: 86.31 kB / 1.358 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05727/1.481, allocations: 18.06 MB / 1.376 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/1.481, allocations: 0 / 1.376 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.332e-05/1.481, allocations: 11.62 kB / 1.376 GB, free: 32.41 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002435/1.484, allocations: 0.81 MB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.484, allocations: 11.66 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/1.484, allocations: 73.92 kB / 1.377 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/1.486, allocations: 0.7567 MB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/1.486, allocations: 23.03 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.487, allocations: 34.66 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/1.488, allocations: 470.8 kB / 1.378 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000989/1.489, allocations: 0.5555 MB / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/1.489, allocations: 0 / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/1.489, allocations: 0 / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/1.489, allocations: 19.38 kB / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/1.492, allocations: 1.871 MB / 1.38 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/1.495, allocations: 0.8245 MB / 1.381 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/1.496, allocations: 263.2 kB / 1.381 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/1.496, allocations: 23.17 kB / 1.381 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/1.496, allocations: 43.06 kB / 1.381 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/1.496, allocations: 0 / 1.381 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.001227/1.497, allocations: 0.5301 MB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/1.497, allocations: 140.2 kB / 1.382 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/1.497, allocations: 268.4 kB / 1.382 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/1.497, allocations: 25.7 kB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/1.498, allocations: 251.3 kB / 1.382 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/1.498, allocations: 231 kB / 1.383 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/1.498, allocations: 0 / 1.383 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.498, allocations: 352 kB / 1.383 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/1.498, allocations: 165.1 kB / 1.383 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/1.499, allocations: 223.3 kB / 1.383 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/1.499, allocations: 226.8 kB / 1.384 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.499, allocations: 0 / 1.384 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001167/1.5, allocations: 0.5426 MB / 1.384 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/1.5, allocations: 7.797 kB / 1.384 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.5, allocations: 0 / 1.384 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.101e-05/1.5, allocations: 3.875 kB / 1.384 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/1.501, allocations: 154 kB / 1.384 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/1.501, allocations: 7.859 kB / 1.384 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/1.502, allocations: 50.62 kB / 1.384 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/1.502, allocations: 30.69 kB / 1.384 GB, free: 28.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (proShaLenNor.solAzi.outsidePolarCircle,proShaLenWes.solAzi.outsidePolarCircle,proShaLenSou.solAzi.outsidePolarCircle,proShaLenEas.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002318/1.502, allocations: 117.7 kB / 1.384 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/1.503, allocations: 50.48 kB / 1.385 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/1.505, allocations: 0.9156 MB / 1.385 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/1.505, allocations: 11.59 kB / 1.385 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.505, allocations: 3.906 kB / 1.385 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.505, allocations: 3.984 kB / 1.385 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/1.506, allocations: 0.6414 MB / 1.386 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.506, allocations: 0 / 1.386 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/1.507, allocations: 192.9 kB / 1.386 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.317e-05/1.507, allocations: 3.969 kB / 1.386 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-05/1.507, allocations: 17.83 kB / 1.386 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/1.507, allocations: 3.812 kB / 1.386 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/1.507, allocations: 4 kB / 1.386 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/1.509, allocations: 1.066 MB / 1.387 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/1.509, allocations: 248.7 kB / 1.388 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.509, allocations: 0 / 1.388 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/1.51, allocations: 11.83 kB / 1.388 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.51, allocations: 71.16 kB / 1.388 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/1.51, allocations: 33.8 kB / 1.388 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003347/1.511, allocations: 222.4 kB / 1.388 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.71e-07/1.511, allocations: 0 / 1.388 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001188/1.512, allocations: 216.2 kB / 1.388 GB, free: 26.56 MB / 0.8386 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.0009956/1.513, allocations: 301.4 kB / 1.388 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009398/1.514, allocations: 0.5246 MB / 1.389 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.514, allocations: 0 / 1.389 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/1.514, allocations: 353.9 kB / 1.389 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/1.515, allocations: 19.72 kB / 1.389 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/1.516, allocations: 0.8686 MB / 1.39 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/1.517, allocations: 0.9415 MB / 1.391 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004953/1.518, allocations: 114.6 kB / 1.391 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/1.518, allocations: 90.28 kB / 1.391 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.518, allocations: 0 / 1.391 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.01303/1.531, allocations: 6.481 MB / 1.398 GB, free: 21.81 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches