Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.356/2.356, 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.001196/0.001196, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.644/1.644, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001149/0.001148, allocations: 87.97 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.639e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3469, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.264/5.611, allocations: 1.731 GB / 2.95 GB, free: 82.73 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/5.611, allocations: 96.56 kB / 2.95 GB, free: 82.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1242/5.735, allocations: 59.32 MB / 3.008 GB, free: 23.05 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/5.735, allocations: 0 / 3.008 GB, free: 23.05 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.259e-05/5.735, allocations: 24 kB / 3.008 GB, free: 23.02 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001728/5.737, allocations: 1.075 MB / 3.009 GB, free: 21.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/5.737, allocations: 8.031 kB / 3.009 GB, free: 21.89 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/5.737, allocations: 131 kB / 3.01 GB, free: 21.76 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008876/5.738, allocations: 186.5 kB / 3.01 GB, free: 21.57 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000924/5.739, allocations: 0.6114 MB / 3.01 GB, free: 20.92 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/5.739, allocations: 58 kB / 3.01 GB, free: 20.86 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/5.739, allocations: 76 kB / 3.01 GB, free: 20.79 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/5.74, allocations: 0.8367 MB / 3.011 GB, free: 19.91 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/5.74, allocations: 0 / 3.011 GB, free: 19.91 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/5.741, allocations: 43.94 kB / 3.011 GB, free: 19.87 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/5.741, allocations: 20 kB / 3.011 GB, free: 19.85 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/5.742, allocations: 1.03 MB / 3.012 GB, free: 18.82 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/5.745, allocations: 2.418 MB / 3.015 GB, free: 16.33 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/5.746, allocations: 0.7704 MB / 3.015 GB, free: 15.53 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/5.747, allocations: 263.2 kB / 3.016 GB, free: 15.27 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/5.747, allocations: 32.8 kB / 3.016 GB, free: 15.24 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006447/5.747, allocations: 417.4 kB / 3.016 GB, free: 14.81 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.104e-06/5.747, allocations: 0 / 3.016 GB, free: 14.81 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001626/5.749, allocations: 0.6759 MB / 3.017 GB, free: 14.13 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/5.749, allocations: 248.1 kB / 3.017 GB, free: 13.83 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/5.75, allocations: 0.5814 MB / 3.018 GB, free: 13.24 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/5.75, allocations: 41.7 kB / 3.018 GB, free: 13.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/5.75, allocations: 372.4 kB / 3.018 GB, free: 12.82 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/5.751, allocations: 244.4 kB / 3.018 GB, free: 12.58 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/5.751, allocations: 12 kB / 3.018 GB, free: 12.57 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001145/5.751, allocations: 378.8 kB / 3.019 GB, free: 12.19 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/5.751, allocations: 205.5 kB / 3.019 GB, free: 11.99 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/5.751, allocations: 310 kB / 3.019 GB, free: 11.66 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/5.752, allocations: 250 kB / 3.019 GB, free: 11.41 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/5.752, allocations: 0 / 3.019 GB, free: 11.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001461/5.753, allocations: 0.6915 MB / 3.02 GB, free: 10.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/5.753, allocations: 8.094 kB / 3.02 GB, free: 10.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/5.753, allocations: 0 / 3.02 GB, free: 10.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/5.754, allocations: 88.72 kB / 3.02 GB, free: 10.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/5.755, allocations: 135.8 kB / 3.02 GB, free: 10.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/5.756, allocations: 1.513 MB / 3.022 GB, free: 8.824 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/5.757, allocations: 87.39 kB / 3.022 GB, free: 8.738 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/5.757, allocations: 27.98 kB / 3.022 GB, free: 8.711 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.000185/5.757, allocations: 151.8 kB / 3.022 GB, free: 8.559 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/5.757, allocations: 75.16 kB / 3.022 GB, free: 8.484 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/5.76, allocations: 0.9769 MB / 3.023 GB, free: 7.492 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/5.76, allocations: 8 kB / 3.023 GB, free: 7.484 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/5.76, allocations: 3.953 kB / 3.023 GB, free: 7.48 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/5.76, allocations: 11.98 kB / 3.023 GB, free: 7.469 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/5.762, allocations: 1.859 MB / 3.025 GB, free: 5.547 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/5.762, allocations: 8 kB / 3.025 GB, free: 5.539 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/5.763, allocations: 143.8 kB / 3.025 GB, free: 5.398 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/5.764, allocations: 84.77 kB / 3.025 GB, free: 5.312 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/5.764, allocations: 23.98 kB / 3.025 GB, free: 5.289 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/5.765, allocations: 1.528 MB / 3.027 GB, free: 3.625 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/5.765, allocations: 3.984 kB / 3.027 GB, free: 3.621 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/5.766, allocations: 0.8806 MB / 3.027 GB, free: 2.719 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/5.767, allocations: 283.8 kB / 3.028 GB, free: 2.422 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/5.767, allocations: 20.06 kB / 3.028 GB, free: 2.402 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/5.767, allocations: 59.95 kB / 3.028 GB, free: 2.344 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/5.768, allocations: 72.64 kB / 3.028 GB, free: 2.273 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/5.768, allocations: 27.98 kB / 3.028 GB, free: 2.246 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004941/5.768, allocations: 483.1 kB / 3.028 GB, free: 1.781 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/5.768, allocations: 0 / 3.028 GB, free: 1.781 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009593/5.769, allocations: 359.1 kB / 3.029 GB, free: 1.43 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.5523/6.321, allocations: 2.339 MB / 3.031 GB, free: 401 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001767/6.323, allocations: 0.6874 MB / 3.032 GB, free: 400.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/6.323, allocations: 0.5625 kB / 3.032 GB, free: 400.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/6.324, allocations: 473.2 kB / 3.032 GB, free: 400.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/6.326, allocations: 240.6 kB / 3.032 GB, free: 400.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/6.33, allocations: 1.557 MB / 3.034 GB, free: 400.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/6.331, allocations: 1.019 MB / 3.035 GB, free: 399.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009378/6.332, allocations: 257.6 kB / 3.035 GB, free: 399.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/6.332, allocations: 354.7 kB / 3.035 GB, free: 399.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/6.332, allocations: 0 / 3.035 GB, free: 399.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/6.412, allocations: 30.91 MB / 3.066 GB, free: 398 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/6.412, allocations: 261 kB / 3.066 GB, free: 397.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/9.56, allocations: 1.25 kB / 3.066 GB, free: 397.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat