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.313/2.313, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001291/0.001291, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.001001/0.001001, allocations: 87.91 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.443e-05/4.471e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3339, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.318/5.652, allocations: 1.733 GB / 2.951 GB, free: 81.61 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/5.652, allocations: 95.94 kB / 2.951 GB, free: 81.52 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.125/5.777, allocations: 59.72 MB / 3.01 GB, free: 21.53 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.633e-06/5.777, allocations: 4 kB / 3.01 GB, free: 21.52 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.121e-05/5.777, allocations: 24 kB / 3.01 GB, free: 21.5 MB / 1.167 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.001818/5.779, allocations: 1.087 MB / 3.011 GB, free: 20.37 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/5.779, allocations: 12.03 kB / 3.011 GB, free: 20.36 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/5.779, allocations: 127.1 kB / 3.011 GB, free: 20.22 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/5.78, allocations: 186.6 kB / 3.011 GB, free: 20.04 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/5.781, allocations: 0.6114 MB / 3.012 GB, free: 19.39 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/5.781, allocations: 58 kB / 3.012 GB, free: 19.33 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/5.781, allocations: 83.94 kB / 3.012 GB, free: 19.25 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/5.782, allocations: 0.8522 MB / 3.013 GB, free: 18.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/5.782, allocations: 0 / 3.013 GB, free: 18.36 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/5.782, allocations: 39.95 kB / 3.013 GB, free: 18.32 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/5.782, allocations: 23.98 kB / 3.013 GB, free: 18.29 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/5.784, allocations: 1.054 MB / 3.014 GB, free: 17.23 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/5.787, allocations: 2.546 MB / 3.016 GB, free: 14.62 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/5.788, allocations: 0.7087 MB / 3.017 GB, free: 13.89 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/5.789, allocations: 279.1 kB / 3.017 GB, free: 13.62 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.719e-05/5.789, allocations: 32.69 kB / 3.017 GB, free: 13.59 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/5.789, allocations: 417.3 kB / 3.018 GB, free: 13.16 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.034e-06/5.789, allocations: 4 kB / 3.018 GB, free: 13.16 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.001478/5.791, allocations: 0.7226 MB / 3.018 GB, free: 12.43 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/5.791, allocations: 240.1 kB / 3.019 GB, free: 12.13 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/5.791, allocations: 0.5855 MB / 3.019 GB, free: 11.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/5.791, allocations: 41.7 kB / 3.019 GB, free: 11.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/5.792, allocations: 384.3 kB / 3.02 GB, free: 11.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/5.792, allocations: 244.4 kB / 3.02 GB, free: 10.87 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/5.792, allocations: 12 kB / 3.02 GB, free: 10.86 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/5.792, allocations: 382.8 kB / 3.02 GB, free: 10.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/5.792, allocations: 205.5 kB / 3.02 GB, free: 10.28 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/5.793, allocations: 329 kB / 3.021 GB, free: 9.926 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/5.793, allocations: 262 kB / 3.021 GB, free: 9.672 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/5.793, allocations: 3.938 kB / 3.021 GB, free: 9.668 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001366/5.794, allocations: 0.7265 MB / 3.022 GB, free: 8.93 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/5.794, allocations: 4 kB / 3.022 GB, free: 8.926 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/5.794, allocations: 0 / 3.022 GB, free: 8.926 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/5.795, allocations: 84.84 kB / 3.022 GB, free: 8.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/5.796, allocations: 147.8 kB / 3.022 GB, free: 8.695 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/5.797, allocations: 1.516 MB / 3.023 GB, free: 7.035 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/5.798, allocations: 87.27 kB / 3.024 GB, free: 6.949 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/5.798, allocations: 40.03 kB / 3.024 GB, free: 6.91 MB / 1.167 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.00015/5.798, allocations: 140.9 kB / 3.024 GB, free: 6.766 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/5.798, allocations: 75.06 kB / 3.024 GB, free: 6.691 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/5.8, allocations: 1.009 MB / 3.025 GB, free: 5.668 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/5.8, allocations: 8 kB / 3.025 GB, free: 5.66 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/5.8, allocations: 0 / 3.025 GB, free: 5.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/5.8, allocations: 3.984 kB / 3.025 GB, free: 5.656 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/5.803, allocations: 1.882 MB / 3.027 GB, free: 3.715 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/5.803, allocations: 0 / 3.027 GB, free: 3.715 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/5.803, allocations: 155.8 kB / 3.027 GB, free: 3.562 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/5.804, allocations: 84.77 kB / 3.027 GB, free: 3.477 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/5.804, allocations: 23.98 kB / 3.027 GB, free: 3.453 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/5.805, allocations: 1.544 MB / 3.028 GB, free: 1.77 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/5.805, allocations: 0 / 3.028 GB, free: 1.77 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/5.807, allocations: 0.8844 MB / 3.029 GB, free: 0.8633 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/5.807, allocations: 291.7 kB / 3.029 GB, free: 0.5586 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/5.807, allocations: 16 kB / 3.03 GB, free: 0.543 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/5.808, allocations: 67.91 kB / 3.03 GB, free: 488 kB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/5.808, allocations: 64.69 kB / 3.03 GB, free: 424 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/5.808, allocations: 31.98 kB / 3.03 GB, free: 392 kB / 1.167 GB Notification: Performance of sorting global known variables: time 0.5982/6.406, allocations: 484.9 kB / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.8e-07/6.406, allocations: 0 / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001817/6.408, allocations: 365.4 kB / 3.03 GB, free: 400 MB / 1.167 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.005196/6.413, allocations: 2.359 MB / 3.033 GB, free: 399.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001919/6.415, allocations: 0.7024 MB / 3.033 GB, free: 399.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/6.415, allocations: 7.828 kB / 3.033 GB, free: 399.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008466/6.416, allocations: 478.9 kB / 3.034 GB, free: 399 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/6.417, allocations: 248.3 kB / 3.034 GB, free: 399 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/6.422, allocations: 1.57 MB / 3.036 GB, free: 398.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/6.422, allocations: 1.028 MB / 3.037 GB, free: 397.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009307/6.423, allocations: 255.8 kB / 3.037 GB, free: 397.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/6.424, allocations: 365.5 kB / 3.037 GB, free: 397.9 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/6.424, allocations: 0 / 3.037 GB, free: 397.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/6.497, allocations: 31.37 MB / 3.068 GB, free: 396.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/6.498, allocations: 262.8 kB / 3.068 GB, free: 395.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/9.623, allocations: 0 / 3.068 GB, free: 395.9 MB / 1.167 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