Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.204/2.204, allocations: 390.5 MB / 398 MB, free: 10.94 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.001266/0.001266, allocations: 168.9 kB / 491.2 MB, free: 1.562 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.666/1.666, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001216/0.001216, allocations: 103.4 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.801e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3689, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.425/5.794, allocations: 1.732 GB / 2.944 GB, free: 106 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/5.794, allocations: 92.02 kB / 2.944 GB, free: 106 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1237/5.918, allocations: 58.88 MB / 3.002 GB, free: 52.37 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.254e-06/5.918, allocations: 0 / 3.002 GB, free: 52.37 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001029/5.918, allocations: 20 kB / 3.002 GB, free: 52.35 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002006/5.92, allocations: 1.076 MB / 3.003 GB, free: 51.22 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/5.92, allocations: 12.03 kB / 3.003 GB, free: 51.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008892/5.921, allocations: 186.6 kB / 3.003 GB, free: 51.03 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/5.922, allocations: 0.6114 MB / 3.004 GB, free: 50.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/5.922, allocations: 28 kB / 3.004 GB, free: 50.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/5.922, allocations: 48 kB / 3.004 GB, free: 50.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001242/5.923, allocations: 1.015 MB / 3.005 GB, free: 49.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/5.925, allocations: 0.7466 MB / 3.006 GB, free: 48.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/5.925, allocations: 3.953 kB / 3.006 GB, free: 48.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.148e-05/5.925, allocations: 4 kB / 3.006 GB, free: 48.49 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/5.925, allocations: 20 kB / 3.006 GB, free: 48.47 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/5.928, allocations: 2.383 MB / 3.008 GB, free: 46.04 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008644/5.929, allocations: 0.6629 MB / 3.009 GB, free: 45.36 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/5.929, allocations: 251.1 kB / 3.009 GB, free: 45.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/5.929, allocations: 32.73 kB / 3.009 GB, free: 45.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/5.93, allocations: 411.8 kB / 3.009 GB, free: 44.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/5.93, allocations: 0 / 3.009 GB, free: 44.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001413/5.931, allocations: 0.6603 MB / 3.01 GB, free: 43.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/5.931, allocations: 248 kB / 3.01 GB, free: 43.69 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/5.932, allocations: 0.5022 MB / 3.011 GB, free: 43.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/5.932, allocations: 25.7 kB / 3.011 GB, free: 43.15 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/5.932, allocations: 384.2 kB / 3.011 GB, free: 42.77 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/5.932, allocations: 240.4 kB / 3.011 GB, free: 42.53 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/5.932, allocations: 0 / 3.011 GB, free: 42.53 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/5.932, allocations: 378.8 kB / 3.012 GB, free: 42.15 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/5.933, allocations: 189.5 kB / 3.012 GB, free: 41.96 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/5.933, allocations: 307.5 kB / 3.012 GB, free: 41.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/5.933, allocations: 252.4 kB / 3.012 GB, free: 41.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/5.933, allocations: 4 kB / 3.012 GB, free: 41.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001272/5.935, allocations: 0.6719 MB / 3.013 GB, free: 40.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/5.935, allocations: 8 kB / 3.013 GB, free: 40.69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/5.935, allocations: 64 / 3.013 GB, free: 40.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/5.935, allocations: 80.78 kB / 3.013 GB, free: 40.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/5.936, allocations: 151.8 kB / 3.013 GB, free: 40.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/5.937, allocations: 1.457 MB / 3.015 GB, free: 38.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/5.938, allocations: 63.59 kB / 3.015 GB, free: 38.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/5.938, allocations: 27.92 kB / 3.015 GB, free: 38.79 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001645/5.938, allocations: 126.2 kB / 3.015 GB, free: 38.66 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001313/5.94, allocations: 0.668 MB / 3.015 GB, free: 37.98 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/5.94, allocations: 71.16 kB / 3.016 GB, free: 37.91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/5.941, allocations: 0.9425 MB / 3.016 GB, free: 36.96 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/5.941, allocations: 8 kB / 3.016 GB, free: 36.95 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/5.941, allocations: 11.86 kB / 3.016 GB, free: 36.94 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/5.942, allocations: 3.984 kB / 3.016 GB, free: 36.93 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/5.944, allocations: 1.711 MB / 3.018 GB, free: 35.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/5.944, allocations: 0 / 3.018 GB, free: 35.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/5.945, allocations: 151.7 kB / 3.018 GB, free: 35.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/5.945, allocations: 84.77 kB / 3.018 GB, free: 34.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/5.945, allocations: 15.98 kB / 3.018 GB, free: 34.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/5.946, allocations: 1.481 MB / 3.02 GB, free: 33.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/5.946, allocations: 0 / 3.02 GB, free: 33.32 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/5.948, allocations: 0.8378 MB / 3.021 GB, free: 32.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/5.948, allocations: 283.8 kB / 3.021 GB, free: 32.17 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/5.948, allocations: 7.953 kB / 3.021 GB, free: 32.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/5.949, allocations: 51.94 kB / 3.021 GB, free: 32.11 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/5.949, allocations: 64.64 kB / 3.021 GB, free: 32.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/5.949, allocations: 31.97 kB / 3.021 GB, free: 32.02 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004105/5.949, allocations: 410.9 kB / 3.021 GB, free: 31.62 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.949, allocations: 0 / 3.021 GB, free: 31.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001068/5.951, allocations: 335 kB / 3.022 GB, free: 31.29 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003295/5.954, allocations: 2.354 MB / 3.024 GB, free: 29.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001175/5.955, allocations: 0.6707 MB / 3.025 GB, free: 28.33 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/5.955, allocations: 3.938 kB / 3.025 GB, free: 28.33 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/5.956, allocations: 456.5 kB / 3.025 GB, free: 27.88 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/5.957, allocations: 219.1 kB / 3.025 GB, free: 27.67 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/5.961, allocations: 1.5 MB / 3.027 GB, free: 26.12 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/5.961, allocations: 1.025 MB / 3.028 GB, free: 25.07 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008238/5.962, allocations: 265.8 kB / 3.028 GB, free: 24.81 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/5.962, allocations: 359.3 kB / 3.028 GB, free: 24.46 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/5.962, allocations: 0 / 3.028 GB, free: 24.46 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05422/6.017, allocations: 23.45 MB / 3.051 GB, free: 1.141 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/6.017, allocations: 207.6 kB / 3.052 GB, free: 0.8594 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/8.856, allocations: 0 / 3.052 GB, free: 0.8594 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat