Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 387.1 MB / 399.7 MB, free: 9.543 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.001001/0.001, allocations: 176.1 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.697/1.697, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009688/0.0009688, allocations: 99.88 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.436e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3443, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.152/5.497, allocations: 1.731 GB / 2.943 GB, free: 108.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/5.497, allocations: 97.81 kB / 2.943 GB, free: 108.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1264/5.623, allocations: 59.32 MB / 3.001 GB, free: 54.55 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.184e-06/5.624, allocations: 4 kB / 3.001 GB, free: 54.55 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.741e-05/5.624, allocations: 23.94 kB / 3.001 GB, free: 54.53 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002263/5.626, allocations: 1.075 MB / 3.002 GB, free: 53.41 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/5.626, allocations: 12.03 kB / 3.002 GB, free: 53.39 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/5.626, allocations: 130.9 kB / 3.002 GB, free: 53.26 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/5.627, allocations: 190.6 kB / 3.003 GB, free: 53.07 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/5.628, allocations: 0.6075 MB / 3.003 GB, free: 52.42 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/5.628, allocations: 62 kB / 3.003 GB, free: 52.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/5.628, allocations: 79.98 kB / 3.003 GB, free: 52.28 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/5.63, allocations: 0.8328 MB / 3.004 GB, free: 51.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/5.63, allocations: 0 / 3.004 GB, free: 51.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/5.63, allocations: 36 kB / 3.004 GB, free: 51.37 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/5.63, allocations: 23.95 kB / 3.004 GB, free: 51.35 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/5.631, allocations: 1.034 MB / 3.005 GB, free: 50.31 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/5.635, allocations: 2.411 MB / 3.008 GB, free: 47.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009885/5.636, allocations: 0.7722 MB / 3.008 GB, free: 47.03 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/5.636, allocations: 271 kB / 3.009 GB, free: 46.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.551e-05/5.636, allocations: 32.81 kB / 3.009 GB, free: 46.73 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/5.637, allocations: 413.3 kB / 3.009 GB, free: 46.31 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.434e-06/5.637, allocations: 0 / 3.009 GB, free: 46.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001397/5.638, allocations: 0.6837 MB / 3.01 GB, free: 45.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/5.638, allocations: 244.1 kB / 3.01 GB, free: 45.32 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/5.639, allocations: 0.5815 MB / 3.01 GB, free: 44.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/5.639, allocations: 37.7 kB / 3.01 GB, free: 44.69 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/5.639, allocations: 372.4 kB / 3.011 GB, free: 44.32 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/5.639, allocations: 240.4 kB / 3.011 GB, free: 44.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/5.639, allocations: 16 kB / 3.011 GB, free: 44.06 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/5.639, allocations: 378.8 kB / 3.011 GB, free: 43.68 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/5.639, allocations: 197.5 kB / 3.012 GB, free: 43.49 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/5.64, allocations: 310 kB / 3.012 GB, free: 43.16 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/5.64, allocations: 250 kB / 3.012 GB, free: 42.91 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/5.64, allocations: 0 / 3.012 GB, free: 42.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001299/5.641, allocations: 0.6914 MB / 3.013 GB, free: 42.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/5.641, allocations: 9.25 kB / 3.013 GB, free: 42.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/5.642, allocations: 80 / 3.013 GB, free: 42.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/5.642, allocations: 88.84 kB / 3.013 GB, free: 42.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/5.643, allocations: 135.8 kB / 3.013 GB, free: 41.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/5.644, allocations: 1.521 MB / 3.015 GB, free: 40.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/5.645, allocations: 83.38 kB / 3.015 GB, free: 40.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/5.645, allocations: 27.98 kB / 3.015 GB, free: 40.21 MB / 1.151 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.0001338/5.645, allocations: 148.9 kB / 3.015 GB, free: 40.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/5.645, allocations: 79.06 kB / 3.015 GB, free: 39.98 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/5.647, allocations: 0.9653 MB / 3.016 GB, free: 38.99 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/5.647, allocations: 8 kB / 3.016 GB, free: 38.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/5.647, allocations: 3.984 kB / 3.016 GB, free: 38.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/5.647, allocations: 7.938 kB / 3.016 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/5.65, allocations: 1.862 MB / 3.018 GB, free: 37.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/5.65, allocations: 3.938 kB / 3.018 GB, free: 37.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/5.65, allocations: 155.8 kB / 3.018 GB, free: 36.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004882/5.651, allocations: 80.78 kB / 3.018 GB, free: 36.81 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/5.651, allocations: 23.98 kB / 3.018 GB, free: 36.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/5.652, allocations: 1.548 MB / 3.019 GB, free: 35.11 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/5.652, allocations: 0 / 3.019 GB, free: 35.11 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/5.654, allocations: 0.8767 MB / 3.02 GB, free: 34.21 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/5.654, allocations: 279.8 kB / 3.021 GB, free: 33.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/5.654, allocations: 20 kB / 3.021 GB, free: 33.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/5.655, allocations: 67.94 kB / 3.021 GB, free: 33.83 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/5.655, allocations: 60.64 kB / 3.021 GB, free: 33.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/5.655, allocations: 35.98 kB / 3.021 GB, free: 33.73 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005579/5.656, allocations: 475.1 kB / 3.021 GB, free: 33.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/5.656, allocations: 0 / 3.021 GB, free: 33.27 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001013/5.657, allocations: 359.1 kB / 3.021 GB, free: 32.92 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.003105/5.66, allocations: 2.348 MB / 3.024 GB, free: 30.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001162/5.661, allocations: 0.6906 MB / 3.024 GB, free: 30 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.661, allocations: 0 / 3.024 GB, free: 30 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/5.661, allocations: 474.9 kB / 3.025 GB, free: 29.53 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/5.663, allocations: 236 kB / 3.025 GB, free: 29.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/5.666, allocations: 1.544 MB / 3.027 GB, free: 27.71 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/5.667, allocations: 1.028 MB / 3.028 GB, free: 26.66 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009279/5.668, allocations: 266.1 kB / 3.028 GB, free: 26.39 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/5.668, allocations: 343.3 kB / 3.028 GB, free: 26.05 MB / 1.151 GB Notification: Performance of SimCode: time 7.82e-07/5.668, allocations: 0 / 3.028 GB, free: 26.05 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6028/6.271, allocations: 30.9 MB / 3.058 GB, free: 388.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/6.271, allocations: 250.9 kB / 3.059 GB, free: 388.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/9.399, allocations: 0 / 3.059 GB, free: 388.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat