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.254/2.254, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001158/0.001158, allocations: 172 kB / 492.3 MB, free: 0.6445 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.514/1.514, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009858/0.0009858, allocations: 94.02 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.049e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.309, allocations: 156.3 MB / 1.365 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.309, allocations: 74.02 kB / 1.365 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05394/1.363, allocations: 18.21 MB / 1.383 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.192e-06/1.363, allocations: 3.75 kB / 1.383 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.178e-05/1.363, allocations: 11.41 kB / 1.383 GB, free: 31.84 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.003373/1.367, allocations: 0.8106 MB / 1.384 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 9.013e-05/1.367, allocations: 11.03 kB / 1.384 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004983/1.367, allocations: 111.3 kB / 1.384 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/1.368, allocations: 73.75 kB / 1.384 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008978/1.369, allocations: 334 kB / 1.384 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/1.369, allocations: 51.25 kB / 1.384 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/1.369, allocations: 59.81 kB / 1.384 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/1.371, allocations: 0.6418 MB / 1.385 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/1.371, allocations: 0 / 1.385 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/1.371, allocations: 28.66 kB / 1.385 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/1.371, allocations: 23.41 kB / 1.385 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008963/1.372, allocations: 0.5019 MB / 1.386 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/1.375, allocations: 1.99 MB / 1.388 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/1.378, allocations: 0.8805 MB / 1.388 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/1.379, allocations: 279.4 kB / 1.389 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/1.379, allocations: 30.62 kB / 1.389 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.379, allocations: 45.34 kB / 1.389 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/1.379, allocations: 0 / 1.389 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.001044/1.38, allocations: 0.5456 MB / 1.389 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/1.38, allocations: 143 kB / 1.389 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/1.38, allocations: 324.4 kB / 1.39 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/1.381, allocations: 39.98 kB / 1.39 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.381, allocations: 248.9 kB / 1.39 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/1.381, allocations: 239.2 kB / 1.39 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/1.381, allocations: 10.72 kB / 1.39 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.381, allocations: 356 kB / 1.391 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/1.381, allocations: 174.9 kB / 1.391 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/1.382, allocations: 239.5 kB / 1.391 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/1.382, allocations: 210.2 kB / 1.391 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.382, allocations: 4 kB / 1.391 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008998/1.383, allocations: 0.5627 MB / 1.392 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.383, allocations: 7.75 kB / 1.392 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.383, allocations: 3.938 kB / 1.392 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.383, allocations: 3.844 kB / 1.392 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/1.384, allocations: 138.1 kB / 1.392 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.384, allocations: 3.875 kB / 1.392 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/1.384, allocations: 76.78 kB / 1.392 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/1.384, allocations: 30.38 kB / 1.392 GB, free: 27.76 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.0001557/1.384, allocations: 137.9 kB / 1.392 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.385, allocations: 46.66 kB / 1.392 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/1.386, allocations: 0.9641 MB / 1.393 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/1.386, allocations: 11.41 kB / 1.393 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.386, allocations: 0 / 1.393 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.386, allocations: 15.75 kB / 1.393 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.388, allocations: 0.7588 MB / 1.394 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.388, allocations: 0 / 1.394 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/1.388, allocations: 190.4 kB / 1.394 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/1.388, allocations: 3.781 kB / 1.394 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/1.388, allocations: 25.92 kB / 1.394 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/1.388, allocations: 11.22 kB / 1.394 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.388, allocations: 0 / 1.394 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.39, allocations: 1.098 MB / 1.395 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/1.39, allocations: 247.3 kB / 1.395 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.743e-05/1.39, allocations: 25.33 kB / 1.395 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/1.391, allocations: 25.3 kB / 1.395 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/1.391, allocations: 73.88 kB / 1.395 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/1.391, allocations: 31.95 kB / 1.396 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003313/1.391, allocations: 282.3 kB / 1.396 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.391, allocations: 0 / 1.396 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009168/1.392, allocations: 240.1 kB / 1.396 GB, free: 25.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.002419/1.395, allocations: 2.046 MB / 1.398 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008854/1.396, allocations: 0.5586 MB / 1.399 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.396, allocations: 0 / 1.399 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/1.396, allocations: 384.8 kB / 1.399 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/1.396, allocations: 42.22 kB / 1.399 GB, free: 24.56 MB / 0.8386 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.002629/1.399, allocations: 1.095 MB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/1.4, allocations: 0.9338 MB / 1.401 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004917/1.4, allocations: 126.2 kB / 1.401 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/1.401, allocations: 278.5 kB / 1.401 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/1.401, allocations: 0 / 1.401 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4222/1.823, allocations: 12.21 MB / 1.413 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.823, allocations: 214.4 kB / 1.413 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/4.552, allocations: 0 / 1.413 GB, free: 11.32 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