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.268/2.268, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001157/0.001157, allocations: 176 kB / 0.4901 GB, free: 2.262 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.622/1.622, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001016/0.001016, allocations: 96.33 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003842, allocations: 12.22 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.5281, allocations: 157.2 MB / 1.383 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5285, allocations: 79.95 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05809/0.5866, allocations: 18.42 MB / 1.401 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.737e-06/0.5866, allocations: 0 / 1.401 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.267e-05/0.5867, allocations: 12 kB / 1.401 GB, free: 9.797 MB / 0.9011 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.002764/0.5895, allocations: 0.8845 MB / 1.402 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.5895, allocations: 8.031 kB / 1.402 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003146/0.5899, allocations: 110.5 kB / 1.402 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.5901, allocations: 75.06 kB / 1.402 GB, free: 8.664 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.5908, allocations: 326.5 kB / 1.402 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/0.5909, allocations: 53.31 kB / 1.402 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.5911, allocations: 60 kB / 1.402 GB, free: 8.195 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.5926, allocations: 0.6615 MB / 1.403 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.5926, allocations: 0 / 1.403 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.5927, allocations: 28 kB / 1.403 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.5927, allocations: 16 kB / 1.403 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5939, allocations: 0.5196 MB / 1.403 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.5981, allocations: 1.999 MB / 1.405 GB, free: 4.883 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.6018, allocations: 0.9093 MB / 1.406 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/0.6019, allocations: 21.22 kB / 1.406 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.602, allocations: 42.5 kB / 1.406 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/0.602, allocations: 0 / 1.406 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72): time 0.001896/0.6039, allocations: 0.7715 MB / 1.407 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.604, allocations: 140.5 kB / 1.407 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.6045, allocations: 340.8 kB / 1.408 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.6046, allocations: 33.7 kB / 1.408 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.6048, allocations: 248.7 kB / 1.408 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.6051, allocations: 232.5 kB / 1.408 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.6052, allocations: 16 kB / 1.408 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.6054, allocations: 370.7 kB / 1.408 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.6058, allocations: 185.2 kB / 1.409 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.6063, allocations: 241.9 kB / 1.409 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.6068, allocations: 219.7 kB / 1.409 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6068, allocations: 0 / 1.409 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001205/0.6081, allocations: 0.5867 MB / 1.41 GB, free: 460 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.6081, allocations: 4 kB / 1.41 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6081, allocations: 4 kB / 1.41 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.6081, allocations: 4 kB / 1.41 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.6089, allocations: 135.8 kB / 1.41 GB, free: 312 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.6089, allocations: 7.953 kB / 1.41 GB, free: 304 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.6095, allocations: 79.39 kB / 1.41 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.6096, allocations: 27.97 kB / 1.41 GB, free: 196 kB / 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.0003971/0.61, allocations: 196.4 kB / 1.41 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.6102, allocations: 47.44 kB / 1.41 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.6123, allocations: 0.9913 MB / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.6124, allocations: 12 kB / 1.411 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.6124, allocations: 4 kB / 1.411 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.6124, allocations: 15.94 kB / 1.411 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.6136, allocations: 0.754 MB / 1.412 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6137, allocations: 0 / 1.412 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.6145, allocations: 187.8 kB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-05/0.6145, allocations: 4 kB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-05/0.6146, allocations: 35.91 kB / 1.412 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.6146, allocations: 4 kB / 1.412 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6146, allocations: 4 kB / 1.412 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.6162, allocations: 1.113 MB / 1.413 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.6165, allocations: 243.9 kB / 1.413 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.6167, allocations: 19.95 kB / 1.413 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.6172, allocations: 35.98 kB / 1.413 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.6173, allocations: 71.83 kB / 1.414 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.6174, allocations: 31.92 kB / 1.414 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003207/0.6177, allocations: 291.1 kB / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.02e-07/0.6177, allocations: 0 / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001017/0.6188, allocations: 231.5 kB / 1.414 GB, free: 11.82 MB / 0.9167 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.002731/0.6215, allocations: 2.089 MB / 1.416 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.6228, allocations: 0.5821 MB / 1.417 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6228, allocations: 0 / 1.417 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.6234, allocations: 391.5 kB / 1.417 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.6238, allocations: 41.56 kB / 1.417 GB, free: 8.727 MB / 0.9167 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.005915/0.6297, allocations: 3.725 MB / 1.421 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.6303, allocations: 0.9417 MB / 1.422 GB, free: 3.957 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005477/0.6308, allocations: 120.8 kB / 1.422 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.6313, allocations: 275.3 kB / 1.422 GB, free: 3.574 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/0.6313, allocations: 0 / 1.422 GB, free: 3.574 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/1.696, allocations: 11.96 MB / 1.434 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/1.696, allocations: 255 kB / 1.434 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/4.29, allocations: 4 kB / 1.434 GB, free: 181.7 MB / 0.9167 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