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.283/2.283, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001563/0.001564, allocations: 177 kB / 498.1 MB, free: 5.738 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.589/1.589, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009451/0.0009451, allocations: 96.33 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005388, allocations: 12.16 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3304, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.5353, allocations: 156.4 MB / 1.376 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.5356, allocations: 83.95 kB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05906/0.5947, allocations: 18.42 MB / 1.394 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5948, allocations: 0 / 1.394 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.98e-05/0.5948, allocations: 12 kB / 1.394 GB, free: 3.023 MB / 0.8855 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.00279/0.5976, allocations: 0.8883 MB / 1.395 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.5977, allocations: 8.031 kB / 1.395 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003305/0.5981, allocations: 106.5 kB / 1.395 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/0.5984, allocations: 71.16 kB / 1.395 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.5991, allocations: 334.5 kB / 1.395 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.5992, allocations: 49.31 kB / 1.395 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.5994, allocations: 60 kB / 1.395 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.6011, allocations: 0.6615 MB / 1.396 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.6011, allocations: 0 / 1.396 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.6012, allocations: 28 kB / 1.396 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.6012, allocations: 19.94 kB / 1.396 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.6024, allocations: 0.5187 MB / 1.396 GB, free: 176 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/0.6063, allocations: 2.01 MB / 1.398 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/0.6098, allocations: 0.902 MB / 1.399 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.6099, allocations: 19.97 kB / 1.399 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.6099, allocations: 42.56 kB / 1.399 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 4.829e-06/0.61, allocations: 0 / 1.399 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72): time 0.001788/0.6118, allocations: 0.7763 MB / 1.4 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.6118, allocations: 136.5 kB / 1.4 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.6123, allocations: 332.9 kB / 1.4 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.6124, allocations: 37.7 kB / 1.401 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.6125, allocations: 240.8 kB / 1.401 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.6128, allocations: 244.4 kB / 1.401 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.6128, allocations: 8 kB / 1.401 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.613, allocations: 370.7 kB / 1.401 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.6134, allocations: 185.2 kB / 1.402 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.6139, allocations: 245.9 kB / 1.402 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.6143, allocations: 215.2 kB / 1.402 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6144, allocations: 4 kB / 1.402 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001179/0.6155, allocations: 0.5788 MB / 1.403 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6156, allocations: 11.98 kB / 1.403 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.6156, allocations: 0 / 1.403 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.6156, allocations: 4 kB / 1.403 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/0.6163, allocations: 143.8 kB / 1.403 GB, free: 9.527 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.6163, allocations: 7.953 kB / 1.403 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.6169, allocations: 67.44 kB / 1.403 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.617, allocations: 27.97 kB / 1.403 GB, free: 9.426 MB / 0.9011 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 () * Number of clocked 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.0003166/0.6173, allocations: 190.6 kB / 1.403 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.6175, allocations: 59.28 kB / 1.403 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.6196, allocations: 0.9794 MB / 1.404 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.6196, allocations: 12 kB / 1.404 GB, free: 8.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.6197, allocations: 8 kB / 1.404 GB, free: 8.172 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.6197, allocations: 11.92 kB / 1.404 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.6208, allocations: 0.7503 MB / 1.405 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.6209, allocations: 4 kB / 1.405 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.6216, allocations: 187.7 kB / 1.405 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/0.6217, allocations: 4 kB / 1.405 GB, free: 7.168 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.6217, allocations: 27.98 kB / 1.405 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.6218, allocations: 8 kB / 1.405 GB, free: 7.133 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.6218, allocations: 11.86 kB / 1.405 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.6233, allocations: 1.121 MB / 1.406 GB, free: 5.965 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.6237, allocations: 239.9 kB / 1.406 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.6238, allocations: 35.94 kB / 1.406 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.6243, allocations: 27.98 kB / 1.406 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.6244, allocations: 63.91 kB / 1.406 GB, free: 5.586 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.6245, allocations: 35.98 kB / 1.406 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003364/0.6248, allocations: 279.2 kB / 1.407 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6248, allocations: 0 / 1.407 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009319/0.6258, allocations: 243.4 kB / 1.407 GB, free: 5.039 MB / 0.9011 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 () * Number of clocked 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.002611/0.6284, allocations: 2.092 MB / 1.409 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.6296, allocations: 0.5746 MB / 1.41 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6296, allocations: 0 / 1.41 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.6303, allocations: 396.9 kB / 1.41 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.6307, allocations: 39.22 kB / 1.41 GB, free: 1.957 MB / 0.9011 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.006118/0.6368, allocations: 3.733 MB / 1.414 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.6374, allocations: 0.9339 MB / 1.415 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004913/0.6379, allocations: 120.8 kB / 1.415 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.6383, allocations: 279.3 kB / 1.415 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/0.6384, allocations: 0 / 1.415 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4522/1.091, allocations: 11.95 MB / 1.427 GB, free: 1.055 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003489/1.091, allocations: 247 kB / 1.427 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.567, allocations: 0 / 1.427 GB, free: 0.7773 MB / 0.9167 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