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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001231/0.001231, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001183/0.001183, allocations: 99.17 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.343e-05/4.36e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3445, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.481, allocations: 157.1 MB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.481, allocations: 81.38 kB / 1.372 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05473/1.536, allocations: 18.2 MB / 1.39 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.295e-06/1.536, allocations: 0 / 1.39 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.915e-05/1.536, allocations: 16 kB / 1.39 GB, free: 13.79 MB / 0.8542 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.001595/1.537, allocations: 0.8189 MB / 1.391 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.537, allocations: 8.031 kB / 1.391 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/1.538, allocations: 108.6 kB / 1.391 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/1.538, allocations: 71.16 kB / 1.391 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/1.538, allocations: 328.6 kB / 1.391 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/1.538, allocations: 53.98 kB / 1.391 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/1.538, allocations: 69.55 kB / 1.392 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.539, allocations: 0.642 MB / 1.392 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.539, allocations: 0 / 1.392 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/1.539, allocations: 26.31 kB / 1.392 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/1.54, allocations: 16 kB / 1.392 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/1.54, allocations: 0.4938 MB / 1.393 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/1.543, allocations: 2.002 MB / 1.395 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/1.547, allocations: 0.8832 MB / 1.396 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/1.547, allocations: 276.3 kB / 1.396 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.617e-05/1.547, allocations: 22.72 kB / 1.396 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.547, allocations: 45.06 kB / 1.396 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.907e-06/1.547, allocations: 3.984 kB / 1.396 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72): time 0.001017/1.548, allocations: 0.5498 MB / 1.396 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/1.548, allocations: 139.5 kB / 1.397 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/1.549, allocations: 332.3 kB / 1.397 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/1.549, allocations: 39.08 kB / 1.397 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/1.549, allocations: 242.3 kB / 1.397 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/1.549, allocations: 240.5 kB / 1.397 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/1.549, allocations: 14.19 kB / 1.397 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.549, allocations: 352.5 kB / 1.398 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/1.549, allocations: 182.3 kB / 1.398 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/1.55, allocations: 237.9 kB / 1.398 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/1.55, allocations: 212 kB / 1.398 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.55, allocations: 0 / 1.398 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009065/1.551, allocations: 0.56 MB / 1.399 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.551, allocations: 4 kB / 1.399 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.551, allocations: 4 kB / 1.399 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.551, allocations: 8 kB / 1.399 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/1.552, allocations: 138.7 kB / 1.399 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/1.552, allocations: 7.953 kB / 1.399 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/1.552, allocations: 70.09 kB / 1.399 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/1.552, allocations: 27.72 kB / 1.399 GB, free: 6.379 MB / 0.8542 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.0001525/1.553, allocations: 141.9 kB / 1.399 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/1.553, allocations: 51.44 kB / 1.399 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/1.554, allocations: 0.9521 MB / 1.4 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/1.554, allocations: 12 kB / 1.4 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.554, allocations: 3.938 kB / 1.4 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.554, allocations: 15.92 kB / 1.4 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009358/1.555, allocations: 0.7442 MB / 1.401 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.555, allocations: 0 / 1.401 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007347/1.556, allocations: 197.5 kB / 1.401 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.556, allocations: 8 kB / 1.401 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/1.556, allocations: 25.98 kB / 1.401 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.556, allocations: 11.94 kB / 1.401 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.556, allocations: 0 / 1.401 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/1.558, allocations: 1.098 MB / 1.402 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/1.558, allocations: 252.8 kB / 1.403 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/1.558, allocations: 17.25 kB / 1.403 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/1.558, allocations: 33.86 kB / 1.403 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.559, allocations: 70.83 kB / 1.403 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/1.559, allocations: 30.98 kB / 1.403 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002726/1.559, allocations: 282.6 kB / 1.403 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.559, allocations: 4 kB / 1.403 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007914/1.56, allocations: 232.9 kB / 1.403 GB, free: 2.961 MB / 0.8542 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.002152/1.562, allocations: 2.056 MB / 1.405 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008685/1.563, allocations: 0.562 MB / 1.406 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.563, allocations: 0 / 1.406 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/1.563, allocations: 378.1 kB / 1.406 GB, free: 452 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/1.564, allocations: 43.38 kB / 1.406 GB, free: 436 kB / 0.8542 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/1.566, allocations: 1.092 MB / 1.407 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/1.566, allocations: 0.9409 MB / 1.408 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004378/1.567, allocations: 120.7 kB / 1.408 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.567, allocations: 278.1 kB / 1.408 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of SimCode: time 3.5e-07/1.567, allocations: 0 / 1.408 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5265/2.094, allocations: 12.22 MB / 1.42 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/2.094, allocations: 214.2 kB / 1.421 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/4.712, allocations: 0 / 1.421 GB, free: 2.07 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat does not exist to compare? outputFormat=mat