Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.00103/0.00103, allocations: 173 kB / 492.3 MB, free: 0.6016 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.588/1.588, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.00106/0.00106, allocations: 91.94 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.852e-05/4.854e-05, allocations: 7.188 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.245/5.575, allocations: 1.732 GB / 2.944 GB, free: 133.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.576, allocations: 95.94 kB / 2.944 GB, free: 133.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/5.705, allocations: 59.72 MB / 3.003 GB, free: 73.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.903e-06/5.705, allocations: 4 kB / 3.003 GB, free: 73.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001033/5.705, allocations: 27.94 kB / 3.003 GB, free: 73.27 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.002359/5.708, allocations: 1.087 MB / 3.004 GB, free: 72.14 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/5.708, allocations: 8.031 kB / 3.004 GB, free: 72.13 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/5.708, allocations: 135 kB / 3.004 GB, free: 71.99 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/5.709, allocations: 182.6 kB / 3.004 GB, free: 71.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/5.71, allocations: 0.6153 MB / 3.005 GB, free: 71.15 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/5.71, allocations: 58 kB / 3.005 GB, free: 71.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/5.711, allocations: 80 kB / 3.005 GB, free: 71.02 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/5.712, allocations: 0.8483 MB / 3.006 GB, free: 70.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/5.712, allocations: 0 / 3.006 GB, free: 70.13 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/5.712, allocations: 36 kB / 3.006 GB, free: 70.09 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/5.712, allocations: 23.95 kB / 3.006 GB, free: 70.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/5.714, allocations: 1.058 MB / 3.007 GB, free: 69.01 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/5.717, allocations: 2.543 MB / 3.009 GB, free: 66.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/5.719, allocations: 0.7085 MB / 3.01 GB, free: 65.68 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/5.719, allocations: 271.2 kB / 3.01 GB, free: 65.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/5.719, allocations: 32.72 kB / 3.01 GB, free: 65.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006246/5.72, allocations: 433.4 kB / 3.011 GB, free: 64.93 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/5.72, allocations: 0 / 3.011 GB, free: 64.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001585/5.721, allocations: 0.7148 MB / 3.011 GB, free: 64.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/5.721, allocations: 240.1 kB / 3.012 GB, free: 63.92 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/5.722, allocations: 0.5855 MB / 3.012 GB, free: 63.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/5.722, allocations: 45.7 kB / 3.012 GB, free: 63.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/5.722, allocations: 372.3 kB / 3.012 GB, free: 62.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/5.722, allocations: 260.3 kB / 3.013 GB, free: 62.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/5.723, allocations: 12 kB / 3.013 GB, free: 62.63 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/5.723, allocations: 382.8 kB / 3.013 GB, free: 62.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/5.723, allocations: 205.5 kB / 3.013 GB, free: 62.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/5.723, allocations: 325.1 kB / 3.014 GB, free: 61.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/5.724, allocations: 262 kB / 3.014 GB, free: 61.45 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/5.724, allocations: 0 / 3.014 GB, free: 61.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0014/5.725, allocations: 0.7227 MB / 3.015 GB, free: 60.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/5.725, allocations: 4 kB / 3.015 GB, free: 60.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/5.725, allocations: 7.938 kB / 3.015 GB, free: 60.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/5.726, allocations: 80.84 kB / 3.015 GB, free: 60.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/5.726, allocations: 147.8 kB / 3.015 GB, free: 60.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/5.728, allocations: 1.517 MB / 3.016 GB, free: 58.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/5.729, allocations: 75.34 kB / 3.016 GB, free: 58.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/5.729, allocations: 36.05 kB / 3.016 GB, free: 58.71 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.0001514/5.729, allocations: 153 kB / 3.017 GB, free: 58.55 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/5.729, allocations: 79.06 kB / 3.017 GB, free: 58.47 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/5.731, allocations: 0.9973 MB / 3.018 GB, free: 57.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/5.731, allocations: 11.95 kB / 3.018 GB, free: 57.45 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/5.731, allocations: 0 / 3.018 GB, free: 57.45 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/5.731, allocations: 7.984 kB / 3.018 GB, free: 57.44 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/5.734, allocations: 1.896 MB / 3.019 GB, free: 55.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/5.734, allocations: 0 / 3.019 GB, free: 55.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/5.734, allocations: 151.8 kB / 3.02 GB, free: 55.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/5.735, allocations: 84.77 kB / 3.02 GB, free: 55.25 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/5.735, allocations: 23.98 kB / 3.02 GB, free: 55.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/5.737, allocations: 1.54 MB / 3.021 GB, free: 53.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/5.737, allocations: 0 / 3.021 GB, free: 53.55 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/5.738, allocations: 0.8923 MB / 3.022 GB, free: 52.63 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/5.739, allocations: 283.7 kB / 3.022 GB, free: 52.34 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/5.739, allocations: 19.98 kB / 3.022 GB, free: 52.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/5.739, allocations: 67.95 kB / 3.022 GB, free: 52.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/5.74, allocations: 64.64 kB / 3.022 GB, free: 52.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/5.74, allocations: 31.98 kB / 3.023 GB, free: 52.16 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006832/5.74, allocations: 491.1 kB / 3.023 GB, free: 51.68 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/5.74, allocations: 0 / 3.023 GB, free: 51.68 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001382/5.742, allocations: 363.2 kB / 3.023 GB, free: 51.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.004385/5.746, allocations: 2.366 MB / 3.026 GB, free: 49.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001262/5.747, allocations: 0.7062 MB / 3.026 GB, free: 48.37 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/5.747, allocations: 0 / 3.026 GB, free: 48.37 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006972/5.748, allocations: 487 kB / 3.027 GB, free: 47.88 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/5.749, allocations: 237.8 kB / 3.027 GB, free: 47.66 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/5.753, allocations: 1.581 MB / 3.029 GB, free: 46.04 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/5.754, allocations: 1.024 MB / 3.03 GB, free: 44.98 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009193/5.755, allocations: 258.4 kB / 3.03 GB, free: 44.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/5.755, allocations: 363.3 kB / 3.03 GB, free: 44.37 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/5.755, allocations: 0 / 3.03 GB, free: 44.37 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/5.807, allocations: 31.36 MB / 3.061 GB, free: 13.32 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/5.807, allocations: 254 kB / 3.061 GB, free: 12.98 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/8.866, allocations: 0 / 3.061 GB, free: 12.98 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat