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.345/2.345, allocations: 390.5 MB / 398 MB, free: 10.91 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.001076/0.001076, allocations: 187.8 kB / 491.2 MB, free: 1.555 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.696/1.696, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009117/0.0009116, allocations: 90.02 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.126e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3903, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.345/5.735, allocations: 1.731 GB / 2.943 GB, free: 107.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004197/5.736, allocations: 86.45 kB / 2.943 GB, free: 107.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1501/5.886, allocations: 58.48 MB / 3 GB, free: 54.05 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.106e-06/5.886, allocations: 0 / 3 GB, free: 54.05 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.715e-05/5.886, allocations: 28 kB / 3 GB, free: 54.02 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.001525/5.887, allocations: 1.083 MB / 3.001 GB, free: 52.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/5.887, allocations: 8.031 kB / 3.001 GB, free: 52.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/5.888, allocations: 186.5 kB / 3.002 GB, free: 52.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/5.889, allocations: 0.6036 MB / 3.002 GB, free: 52.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/5.889, allocations: 24 kB / 3.002 GB, free: 52.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/5.889, allocations: 44 kB / 3.002 GB, free: 51.99 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001159/5.89, allocations: 0.9874 MB / 3.003 GB, free: 51 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009768/5.891, allocations: 0.7272 MB / 3.004 GB, free: 50.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/5.891, allocations: 7.938 kB / 3.004 GB, free: 50.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/5.891, allocations: 0 / 3.004 GB, free: 50.23 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/5.891, allocations: 20 kB / 3.004 GB, free: 50.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/5.894, allocations: 2.271 MB / 3.006 GB, free: 47.88 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/5.895, allocations: 0.7136 MB / 3.007 GB, free: 47.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/5.895, allocations: 244.4 kB / 3.007 GB, free: 46.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.547e-05/5.896, allocations: 40.75 kB / 3.007 GB, free: 46.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/5.896, allocations: 379.8 kB / 3.008 GB, free: 46.47 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/5.896, allocations: 0 / 3.008 GB, free: 46.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001355/5.897, allocations: 0.6485 MB / 3.008 GB, free: 45.81 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/5.898, allocations: 244.1 kB / 3.008 GB, free: 45.52 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/5.898, allocations: 0.4906 MB / 3.009 GB, free: 45.02 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/5.898, allocations: 29.7 kB / 3.009 GB, free: 44.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/5.898, allocations: 380.1 kB / 3.009 GB, free: 44.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/5.898, allocations: 232.4 kB / 3.01 GB, free: 44.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/5.898, allocations: 0 / 3.01 GB, free: 44.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/5.899, allocations: 374.8 kB / 3.01 GB, free: 44 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/5.899, allocations: 189.5 kB / 3.01 GB, free: 43.82 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/5.899, allocations: 288.4 kB / 3.01 GB, free: 43.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/5.899, allocations: 236.4 kB / 3.011 GB, free: 43.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/5.899, allocations: 0 / 3.011 GB, free: 43.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001234/5.901, allocations: 0.6486 MB / 3.011 GB, free: 42.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/5.901, allocations: 4 kB / 3.011 GB, free: 42.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/5.901, allocations: 0 / 3.011 GB, free: 42.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005622/5.901, allocations: 88.86 kB / 3.011 GB, free: 42.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/5.902, allocations: 135.8 kB / 3.011 GB, free: 42.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/5.903, allocations: 1.457 MB / 3.013 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/5.904, allocations: 59.5 kB / 3.013 GB, free: 40.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/5.904, allocations: 31.98 kB / 3.013 GB, free: 40.71 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.0001517/5.904, allocations: 123 kB / 3.013 GB, free: 40.59 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001278/5.905, allocations: 0.6484 MB / 3.014 GB, free: 39.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/5.905, allocations: 71.16 kB / 3.014 GB, free: 39.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/5.907, allocations: 0.9103 MB / 3.015 GB, free: 38.93 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/5.907, allocations: 12 kB / 3.015 GB, free: 38.92 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/5.907, allocations: 0 / 3.015 GB, free: 38.92 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/5.907, allocations: 3.984 kB / 3.015 GB, free: 38.92 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/5.91, allocations: 1.695 MB / 3.016 GB, free: 37.17 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/5.91, allocations: 3.938 kB / 3.016 GB, free: 37.17 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/5.91, allocations: 155.8 kB / 3.016 GB, free: 37.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/5.911, allocations: 84.77 kB / 3.017 GB, free: 36.93 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/5.911, allocations: 15.98 kB / 3.017 GB, free: 36.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/5.912, allocations: 1.469 MB / 3.018 GB, free: 35.33 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.912, allocations: 0 / 3.018 GB, free: 35.33 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/5.913, allocations: 0.826 MB / 3.019 GB, free: 34.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/5.914, allocations: 279.8 kB / 3.019 GB, free: 34.19 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/5.914, allocations: 11.98 kB / 3.019 GB, free: 34.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/5.914, allocations: 47.91 kB / 3.019 GB, free: 34.13 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/5.914, allocations: 64.69 kB / 3.019 GB, free: 34.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/5.914, allocations: 32.12 kB / 3.019 GB, free: 34.04 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003838/5.915, allocations: 398.9 kB / 3.02 GB, free: 33.65 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.915, allocations: 0 / 3.02 GB, free: 33.65 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000926/5.916, allocations: 335 kB / 3.02 GB, free: 33.32 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.002842/5.919, allocations: 2.361 MB / 3.022 GB, free: 31.05 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009814/5.92, allocations: 0.6435 MB / 3.023 GB, free: 30.39 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.92, allocations: 0 / 3.023 GB, free: 30.39 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/5.92, allocations: 448.5 kB / 3.023 GB, free: 29.95 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/5.921, allocations: 218.8 kB / 3.023 GB, free: 29.73 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/5.925, allocations: 1.47 MB / 3.025 GB, free: 28.22 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/5.925, allocations: 1.027 MB / 3.026 GB, free: 27.16 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007416/5.926, allocations: 253.8 kB / 3.026 GB, free: 26.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/5.926, allocations: 359.2 kB / 3.026 GB, free: 26.56 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/5.926, allocations: 0 / 3.026 GB, free: 26.56 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/5.97, allocations: 23.03 MB / 3.049 GB, free: 3.664 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/5.97, allocations: 213 kB / 3.049 GB, free: 3.379 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/8.683, allocations: 0 / 3.049 GB, free: 3.379 MB / 1.151 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