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.425/2.425, allocations: 390.5 MB / 398 MB, free: 10.92 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.001427/0.001427, allocations: 184 kB / 491.2 MB, free: 1.598 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.497/1.497, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009824/0.0009824, allocations: 99.62 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.762e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9297/1.219, allocations: 156.4 MB / 1.365 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.219, allocations: 81.91 kB / 1.365 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05113/1.27, allocations: 18.06 MB / 1.383 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.27, allocations: 0 / 1.383 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.81e-05/1.27, allocations: 11.47 kB / 1.383 GB, free: 30.85 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.001883/1.272, allocations: 0.8154 MB / 1.384 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.272, allocations: 11.59 kB / 1.384 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/1.272, allocations: 73.75 kB / 1.384 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/1.274, allocations: 0.7585 MB / 1.384 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/1.274, allocations: 19.44 kB / 1.384 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.274, allocations: 38.53 kB / 1.384 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008652/1.275, allocations: 468.4 kB / 1.385 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/1.276, allocations: 0.5532 MB / 1.385 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.276, allocations: 0 / 1.385 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/1.276, allocations: 3.844 kB / 1.385 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/1.276, allocations: 19.19 kB / 1.385 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/1.279, allocations: 1.867 MB / 1.387 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/1.282, allocations: 0.8322 MB / 1.388 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/1.282, allocations: 260.4 kB / 1.388 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/1.282, allocations: 26.17 kB / 1.388 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/1.282, allocations: 41.66 kB / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.194e-06/1.282, allocations: 0 / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.00111/1.284, allocations: 0.5357 MB / 1.389 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.284, allocations: 136.1 kB / 1.389 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/1.284, allocations: 268.3 kB / 1.389 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/1.284, allocations: 29.58 kB / 1.389 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.284, allocations: 243.9 kB / 1.39 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.284, allocations: 230.5 kB / 1.39 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/1.284, allocations: 4 kB / 1.39 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.284, allocations: 356.5 kB / 1.39 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/1.285, allocations: 163.3 kB / 1.39 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/1.285, allocations: 229.3 kB / 1.391 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/1.285, allocations: 222.3 kB / 1.391 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.285, allocations: 0 / 1.391 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009116/1.286, allocations: 0.5516 MB / 1.391 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.286, allocations: 7.844 kB / 1.391 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.286, allocations: 3.844 kB / 1.391 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.286, allocations: 3.844 kB / 1.391 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/1.287, allocations: 139.5 kB / 1.391 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.287, allocations: 7.828 kB / 1.391 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/1.287, allocations: 54.83 kB / 1.391 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/1.288, allocations: 38.67 kB / 1.392 GB, free: 26.71 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.0001451/1.288, allocations: 109.9 kB / 1.392 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/1.288, allocations: 46.47 kB / 1.392 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.289, allocations: 0.9124 MB / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.289, allocations: 11.69 kB / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.29, allocations: 3.812 kB / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.29, allocations: 7.969 kB / 1.393 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/1.29, allocations: 0.6387 MB / 1.393 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.29, allocations: 3.984 kB / 1.393 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/1.291, allocations: 191.4 kB / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/1.291, allocations: 7.688 kB / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/1.291, allocations: 18.3 kB / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.291, allocations: 3.844 kB / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.291, allocations: 0 / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.292, allocations: 1.068 MB / 1.394 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/1.293, allocations: 241.2 kB / 1.395 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/1.293, allocations: 3.781 kB / 1.395 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/1.293, allocations: 11.72 kB / 1.395 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/1.293, allocations: 71.95 kB / 1.395 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/1.293, allocations: 38.05 kB / 1.395 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001952/1.294, allocations: 220.5 kB / 1.395 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.61e-07/1.294, allocations: 3.812 kB / 1.395 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008262/1.294, allocations: 206 kB / 1.395 GB, free: 24.99 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.0007004/1.295, allocations: 290.2 kB / 1.396 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007264/1.296, allocations: 0.5227 MB / 1.396 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.296, allocations: 0 / 1.396 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/1.296, allocations: 359.9 kB / 1.396 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/1.297, allocations: 19.64 kB / 1.396 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/1.298, allocations: 0.8762 MB / 1.397 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/1.299, allocations: 0.9375 MB / 1.398 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004344/1.299, allocations: 110.5 kB / 1.398 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.299, allocations: 91 kB / 1.398 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.299, allocations: 3.938 kB / 1.398 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.01053/1.31, allocations: 6.48 MB / 1.405 GB, free: 19.29 MB / 0.8386 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