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.33/2.33, allocations: 390.5 MB / 398 MB, free: 10.98 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.001658/0.001658, allocations: 183.5 kB / 491.2 MB, free: 1.629 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.651/1.651, 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.00097/0.0009702, allocations: 91.88 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.611e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3439, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.566, allocations: 156.4 MB / 1.365 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/1.566, allocations: 79.92 kB / 1.365 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07377/1.64, allocations: 17.99 MB / 1.383 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.64, allocations: 0 / 1.383 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.33e-05/1.64, allocations: 15.59 kB / 1.383 GB, free: 30.46 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.001872/1.642, allocations: 0.823 MB / 1.384 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.642, allocations: 11.47 kB / 1.384 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/1.642, allocations: 69.66 kB / 1.384 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.643, allocations: 336.9 kB / 1.384 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/1.643, allocations: 22.44 kB / 1.384 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/1.643, allocations: 34.31 kB / 1.384 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000834/1.644, allocations: 470.5 kB / 1.385 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/1.645, allocations: 0.5507 MB / 1.385 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.645, allocations: 3.938 kB / 1.385 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/1.645, allocations: 3.844 kB / 1.385 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.645, allocations: 15.5 kB / 1.385 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/1.648, allocations: 1.856 MB / 1.387 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/1.651, allocations: 0.8415 MB / 1.388 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/1.652, allocations: 258.6 kB / 1.388 GB, free: 28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/1.652, allocations: 26.36 kB / 1.388 GB, free: 28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.652, allocations: 48.66 kB / 1.388 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 3.366e-06/1.652, allocations: 7.938 kB / 1.388 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.001268/1.653, allocations: 0.5284 MB / 1.389 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/1.653, allocations: 140.1 kB / 1.389 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/1.653, allocations: 271.2 kB / 1.389 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/1.653, allocations: 25.7 kB / 1.389 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/1.654, allocations: 244.7 kB / 1.389 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/1.654, allocations: 232.3 kB / 1.389 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/1.654, allocations: 0 / 1.389 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.654, allocations: 354.1 kB / 1.39 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/1.654, allocations: 168.4 kB / 1.39 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/1.655, allocations: 219.5 kB / 1.39 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/1.655, allocations: 225.1 kB / 1.39 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.655, allocations: 7.625 kB / 1.39 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001046/1.656, allocations: 0.5454 MB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.656, allocations: 3.875 kB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.656, allocations: 4 kB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.656, allocations: 3.844 kB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/1.657, allocations: 139.9 kB / 1.391 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/1.657, allocations: 3.875 kB / 1.391 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/1.658, allocations: 47.2 kB / 1.391 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/1.658, allocations: 38.23 kB / 1.391 GB, free: 26.49 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.0001606/1.658, allocations: 114.1 kB / 1.391 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009084/1.659, allocations: 0.5362 MB / 1.392 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.659, allocations: 50.44 kB / 1.392 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/1.661, allocations: 0.9044 MB / 1.393 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.661, allocations: 11.5 kB / 1.393 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.661, allocations: 7.953 kB / 1.393 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.661, allocations: 11.66 kB / 1.393 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008783/1.661, allocations: 0.6364 MB / 1.393 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.661, allocations: 0 / 1.393 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/1.662, allocations: 190.8 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.662, allocations: 7.688 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/1.662, allocations: 11.3 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.662, allocations: 7.562 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.662, allocations: 3.938 kB / 1.394 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.663, allocations: 1.078 MB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/1.664, allocations: 244 kB / 1.395 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/1.664, allocations: 7.922 kB / 1.395 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/1.664, allocations: 7.859 kB / 1.395 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/1.664, allocations: 68.97 kB / 1.395 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/1.664, allocations: 37.14 kB / 1.395 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002336/1.665, allocations: 231.4 kB / 1.395 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.523e-06/1.665, allocations: 3.844 kB / 1.395 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008464/1.665, allocations: 209.8 kB / 1.395 GB, free: 24.62 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.002126/1.668, allocations: 2.014 MB / 1.397 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007805/1.668, allocations: 0.5158 MB / 1.398 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.668, allocations: 4 kB / 1.398 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/1.669, allocations: 363.1 kB / 1.398 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/1.669, allocations: 21.12 kB / 1.398 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/1.671, allocations: 1.003 MB / 1.399 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/1.672, allocations: 0.9364 MB / 1.4 GB, free: 21.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004284/1.672, allocations: 117.4 kB / 1.4 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/1.672, allocations: 274.1 kB / 1.401 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.672, allocations: 0 / 1.401 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.58/2.252, allocations: 11.29 MB / 1.412 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/2.253, allocations: 199.6 kB / 1.412 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/4.882, allocations: 1.719 kB / 1.412 GB, free: 12.05 MB / 0.8386 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