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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001369/0.001369, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.436/1.436, allocations: 221.5 MB / 0.7824 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.0009962, allocations: 107.8 kB / 0.9219 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.215e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3012, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.969/1.27, allocations: 155.7 MB / 1.358 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.271, allocations: 85.62 kB / 1.358 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05157/1.322, allocations: 18 MB / 1.376 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/1.322, allocations: 0 / 1.376 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.687e-05/1.322, allocations: 11.56 kB / 1.376 GB, free: 32.11 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.001436/1.324, allocations: 0.821 MB / 1.377 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.324, allocations: 12.28 kB / 1.377 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.324, allocations: 74.05 kB / 1.377 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/1.324, allocations: 329.5 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/1.324, allocations: 23.16 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/1.324, allocations: 34.69 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007181/1.325, allocations: 469 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/1.326, allocations: 0.5569 MB / 1.378 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.326, allocations: 0 / 1.378 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/1.326, allocations: 0 / 1.378 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.326, allocations: 15.53 kB / 1.378 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/1.329, allocations: 1.866 MB / 1.38 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/1.331, allocations: 0.8387 MB / 1.381 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/1.332, allocations: 254.5 kB / 1.381 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/1.332, allocations: 22.66 kB / 1.381 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/1.332, allocations: 56.11 kB / 1.381 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/1.332, allocations: 3.906 kB / 1.381 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.001003/1.333, allocations: 0.5261 MB / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.333, allocations: 144 kB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/1.333, allocations: 265.4 kB / 1.382 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/1.333, allocations: 25.7 kB / 1.382 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.333, allocations: 251.9 kB / 1.382 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/1.333, allocations: 230.4 kB / 1.382 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/1.334, allocations: 0 / 1.382 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.334, allocations: 353.6 kB / 1.383 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/1.334, allocations: 168.4 kB / 1.383 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/1.334, allocations: 223 kB / 1.383 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/1.335, allocations: 225.2 kB / 1.383 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.335, allocations: 0 / 1.383 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008375/1.335, allocations: 0.5434 MB / 1.384 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.335, allocations: 7.594 kB / 1.384 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.336, allocations: 3.938 kB / 1.384 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.336, allocations: 3.75 kB / 1.384 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/1.336, allocations: 139 kB / 1.384 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.336, allocations: 0 / 1.384 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/1.337, allocations: 54.95 kB / 1.384 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/1.337, allocations: 37.56 kB / 1.384 GB, free: 28.14 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.0001278/1.337, allocations: 117.7 kB / 1.384 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008842/1.338, allocations: 0.5356 MB / 1.385 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/1.338, allocations: 46.38 kB / 1.385 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.339, allocations: 0.9137 MB / 1.386 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.339, allocations: 19.36 kB / 1.386 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.339, allocations: 0 / 1.386 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.339, allocations: 11.94 kB / 1.386 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/1.34, allocations: 0.631 MB / 1.386 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.34, allocations: 0 / 1.386 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/1.341, allocations: 195.3 kB / 1.386 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.341, allocations: 3.844 kB / 1.386 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/1.341, allocations: 15.42 kB / 1.386 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.341, allocations: 3.875 kB / 1.386 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.341, allocations: 3.844 kB / 1.386 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.342, allocations: 1.074 MB / 1.387 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/1.342, allocations: 240.3 kB / 1.388 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/1.342, allocations: 7.938 kB / 1.388 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/1.343, allocations: 15.67 kB / 1.388 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/1.343, allocations: 64.47 kB / 1.388 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/1.343, allocations: 34.89 kB / 1.388 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002026/1.343, allocations: 226.6 kB / 1.388 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.343, allocations: 0 / 1.388 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007917/1.344, allocations: 220.6 kB / 1.388 GB, free: 26.27 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.001968/1.346, allocations: 2.017 MB / 1.39 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006715/1.347, allocations: 0.5137 MB / 1.391 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.347, allocations: 3.938 kB / 1.391 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/1.347, allocations: 361.5 kB / 1.391 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/1.347, allocations: 23.3 kB / 1.391 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/1.349, allocations: 1.002 MB / 1.392 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/1.35, allocations: 0.9302 MB / 1.393 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004162/1.35, allocations: 118.6 kB / 1.393 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/1.35, allocations: 281.7 kB / 1.393 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.35, allocations: 0 / 1.393 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4542/1.805, allocations: 11.28 MB / 1.404 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.805, allocations: 207.6 kB / 1.405 GB, free: 17.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/4.642, allocations: 3.094 kB / 1.405 GB, free: 17.83 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat does not exist to compare? outputFormat=mat