Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.506/2.506, allocations: 393.5 MB / 408.4 MB, free: 10.9 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.001265/0.001265, allocations: 191.8 kB / 0.4902 GB, free: 2.141 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.693/1.693, allocations: 223.1 MB / 0.7992 GB, free: 15.6 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.001009/0.001009, allocations: 100.3 kB / 0.9396 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 8.156 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3442, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.5668, allocations: 157.2 MB / 1.383 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.5672, allocations: 87.95 kB / 1.383 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05565/0.6228, allocations: 18.48 MB / 1.401 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.727e-06/0.6229, allocations: 0 / 1.401 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.623, allocations: 16 kB / 1.401 GB, free: 5.504 MB / 0.9011 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.001859/0.6248, allocations: 0.8777 MB / 1.402 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6249, allocations: 12.52 kB / 1.402 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.625, allocations: 79.05 kB / 1.402 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.6267, allocations: 0.7596 MB / 1.403 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.6268, allocations: 49.31 kB / 1.403 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.6269, allocations: 64 kB / 1.403 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.628, allocations: 0.6576 MB / 1.403 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.628, allocations: 3.938 kB / 1.403 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.6281, allocations: 28 kB / 1.403 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.6281, allocations: 16 kB / 1.403 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.6291, allocations: 0.5158 MB / 1.404 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.6325, allocations: 1.998 MB / 1.406 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.738/1.37, allocations: 0.8977 MB / 1.407 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/1.371, allocations: 20.83 kB / 1.407 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.371, allocations: 52.61 kB / 1.407 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 3.526e-06/1.371, allocations: 0 / 1.407 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72): time 0.002064/1.373, allocations: 0.7655 MB / 1.407 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.373, allocations: 144.1 kB / 1.408 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/1.373, allocations: 331.3 kB / 1.408 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/1.373, allocations: 40.73 kB / 1.408 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.374, allocations: 236.1 kB / 1.408 GB, free: 164 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/1.374, allocations: 243.6 kB / 1.408 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/1.374, allocations: 10.5 kB / 1.408 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.374, allocations: 356.1 kB / 1.409 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/1.374, allocations: 185.2 kB / 1.409 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/1.375, allocations: 250.1 kB / 1.409 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/1.375, allocations: 220.6 kB / 1.409 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.375, allocations: 0 / 1.409 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001272/1.377, allocations: 0.5882 MB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.377, allocations: 9.922 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.377, allocations: 1 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/1.377, allocations: 4.484 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/1.377, allocations: 136.9 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/1.377, allocations: 8.453 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/1.378, allocations: 72.09 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/1.378, allocations: 37.78 kB / 1.41 GB, free: 163.5 MB / 0.9011 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 () * Number of clocked 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.0002757/1.378, allocations: 195.1 kB / 1.41 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/1.379, allocations: 52.64 kB / 1.41 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/1.381, allocations: 0.9918 MB / 1.411 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/1.381, allocations: 12.69 kB / 1.411 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.381, allocations: 3.406 kB / 1.411 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.381, allocations: 8.578 kB / 1.411 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/1.382, allocations: 0.7488 MB / 1.412 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/1.382, allocations: 4.578 kB / 1.412 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/1.383, allocations: 189.3 kB / 1.412 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/1.383, allocations: 4.031 kB / 1.412 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/1.383, allocations: 28.27 kB / 1.412 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.383, allocations: 11.92 kB / 1.412 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.383, allocations: 6.781 kB / 1.412 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.385, allocations: 1.117 MB / 1.413 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/1.385, allocations: 244.7 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/1.385, allocations: 20.94 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/1.386, allocations: 26.27 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.386, allocations: 65.56 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/1.386, allocations: 35.5 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003774/1.386, allocations: 285.7 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.61e-07/1.386, allocations: 0 / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001/1.387, allocations: 232.6 kB / 1.414 GB, free: 162.3 MB / 0.9011 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 () * Number of clocked 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.0007215/1.388, allocations: 329.8 kB / 1.415 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001438/1.389, allocations: 0.579 MB / 1.415 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.389, allocations: 0 / 1.415 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007399/1.39, allocations: 396.6 kB / 1.416 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/1.391, allocations: 42.84 kB / 1.416 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/1.393, allocations: 1.511 MB / 1.417 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/1.394, allocations: 0.9366 MB / 1.418 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005275/1.394, allocations: 120.6 kB / 1.418 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/1.395, allocations: 94.09 kB / 1.418 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.483e-06/1.395, allocations: 0 / 1.418 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.01752/1.412, allocations: 6.864 MB / 1.425 GB, free: 160.3 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches