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.282/2.282, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.001036/0.001036, allocations: 176.9 kB / 492.3 MB, free: 0.6328 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.466/1.466, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0008686/0.0008684, allocations: 87.78 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.564e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.475, allocations: 156.3 MB / 1.365 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.475, allocations: 79.23 kB / 1.365 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05108/1.526, allocations: 18.27 MB / 1.383 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.475e-06/1.526, allocations: 0 / 1.383 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.039e-05/1.526, allocations: 15.16 kB / 1.383 GB, free: 31.88 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.001526/1.528, allocations: 0.8103 MB / 1.384 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.528, allocations: 11.53 kB / 1.384 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/1.528, allocations: 69.75 kB / 1.384 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/1.53, allocations: 0.7606 MB / 1.385 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/1.53, allocations: 54.41 kB / 1.385 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/1.53, allocations: 63.88 kB / 1.385 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/1.531, allocations: 0.6404 MB / 1.385 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/1.531, allocations: 0 / 1.385 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/1.531, allocations: 28.88 kB / 1.385 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.531, allocations: 15.53 kB / 1.385 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/1.532, allocations: 0.4945 MB / 1.386 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/1.534, allocations: 1.998 MB / 1.388 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/1.537, allocations: 0.8809 MB / 1.389 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/1.538, allocations: 278.5 kB / 1.389 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/1.538, allocations: 29.77 kB / 1.389 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/1.538, allocations: 45.06 kB / 1.389 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.955e-06/1.538, allocations: 0 / 1.389 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.0009484/1.539, allocations: 0.5439 MB / 1.39 GB, free: 29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/1.539, allocations: 140 kB / 1.39 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/1.539, allocations: 332.8 kB / 1.39 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/1.539, allocations: 32.95 kB / 1.39 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/1.539, allocations: 239.3 kB / 1.39 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.539, allocations: 235.6 kB / 1.39 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/1.539, allocations: 18.62 kB / 1.39 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.54, allocations: 356.2 kB / 1.391 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/1.54, allocations: 181 kB / 1.391 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/1.54, allocations: 236.9 kB / 1.391 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/1.54, allocations: 210.2 kB / 1.391 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.54, allocations: 0 / 1.391 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008074/1.541, allocations: 0.563 MB / 1.392 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.541, allocations: 11.91 kB / 1.392 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.541, allocations: 0 / 1.392 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.541, allocations: 3.875 kB / 1.392 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/1.542, allocations: 142 kB / 1.392 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.542, allocations: 3.812 kB / 1.392 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/1.542, allocations: 83.22 kB / 1.392 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/1.543, allocations: 26.03 kB / 1.392 GB, free: 27.7 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.0001344/1.543, allocations: 141 kB / 1.392 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.543, allocations: 50.03 kB / 1.392 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.544, allocations: 0.9647 MB / 1.393 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.544, allocations: 11.53 kB / 1.393 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.544, allocations: 3.984 kB / 1.393 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.544, allocations: 7.969 kB / 1.393 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/1.545, allocations: 0.7565 MB / 1.394 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.545, allocations: 0 / 1.394 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/1.546, allocations: 193.4 kB / 1.394 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.546, allocations: 3.875 kB / 1.394 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/1.546, allocations: 31.38 kB / 1.394 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.546, allocations: 7.859 kB / 1.394 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.546, allocations: 3.812 kB / 1.394 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/1.547, allocations: 1.09 MB / 1.395 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/1.547, allocations: 246 kB / 1.396 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/1.547, allocations: 29.77 kB / 1.396 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/1.548, allocations: 25.95 kB / 1.396 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/1.548, allocations: 65.44 kB / 1.396 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/1.548, allocations: 38.05 kB / 1.396 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002535/1.548, allocations: 278.5 kB / 1.396 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.548, allocations: 0 / 1.396 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007936/1.549, allocations: 229.5 kB / 1.396 GB, free: 25.94 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.0006226/1.55, allocations: 312.5 kB / 1.397 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008006/1.551, allocations: 0.565 MB / 1.397 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.551, allocations: 0 / 1.397 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/1.551, allocations: 389.8 kB / 1.397 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/1.551, allocations: 37.69 kB / 1.398 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/1.553, allocations: 0.9295 MB / 1.398 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/1.553, allocations: 0.9342 MB / 1.399 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004125/1.554, allocations: 118.5 kB / 1.399 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/1.554, allocations: 91.59 kB / 1.4 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.554, allocations: 0 / 1.4 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.01105/1.565, allocations: 6.877 MB / 1.406 GB, free: 18.22 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