Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.047/2.047, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.000927/0.0009269, allocations: 180.8 kB / 487.4 MB, free: 5.059 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.374/1.374, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008487/0.0008487, allocations: 99.77 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.965e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2132, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.011/4.224, allocations: 1.73 GB / 2.936 GB, free: 153.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/4.224, allocations: 92.66 kB / 2.937 GB, free: 153.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1417/4.366, allocations: 67.54 MB / 3.003 GB, free: 85.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/4.366, allocations: 0 / 3.003 GB, free: 85.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001101/4.366, allocations: 24 kB / 3.003 GB, free: 85.63 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002495/4.369, allocations: 1.114 MB / 3.004 GB, free: 84.46 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/4.369, allocations: 12.56 kB / 3.004 GB, free: 84.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/4.37, allocations: 222.3 kB / 3.004 GB, free: 84.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/4.371, allocations: 0.627 MB / 3.004 GB, free: 83.56 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/4.371, allocations: 32 kB / 3.004 GB, free: 83.53 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/4.372, allocations: 52 kB / 3.005 GB, free: 83.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001553/4.373, allocations: 1.019 MB / 3.006 GB, free: 82.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/4.375, allocations: 0.7772 MB / 3.006 GB, free: 81.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/4.375, allocations: 0 / 3.006 GB, free: 81.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/4.375, allocations: 3.953 kB / 3.006 GB, free: 81.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/4.375, allocations: 24 kB / 3.006 GB, free: 81.62 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/4.378, allocations: 2.337 MB / 3.009 GB, free: 79.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/4.38, allocations: 0.7888 MB / 3.009 GB, free: 78.41 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/4.38, allocations: 243.1 kB / 3.01 GB, free: 78.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/4.381, allocations: 32.8 kB / 3.01 GB, free: 78.13 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/4.381, allocations: 391.9 kB / 3.01 GB, free: 77.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.437e-06/4.381, allocations: 0 / 3.01 GB, free: 77.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001565/4.383, allocations: 0.6524 MB / 3.011 GB, free: 77.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/4.383, allocations: 240.1 kB / 3.011 GB, free: 76.78 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/4.383, allocations: 498.3 kB / 3.011 GB, free: 76.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/4.384, allocations: 25.7 kB / 3.011 GB, free: 76.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/4.384, allocations: 408 kB / 3.012 GB, free: 75.85 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/4.384, allocations: 236.4 kB / 3.012 GB, free: 75.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/4.384, allocations: 0 / 3.012 GB, free: 75.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001198/4.384, allocations: 378.8 kB / 3.012 GB, free: 75.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/4.384, allocations: 189.5 kB / 3.013 GB, free: 75.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/4.385, allocations: 287.5 kB / 3.013 GB, free: 74.74 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/4.385, allocations: 236.4 kB / 3.013 GB, free: 74.51 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/4.385, allocations: 0 / 3.013 GB, free: 74.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001405/4.387, allocations: 0.6447 MB / 3.014 GB, free: 73.86 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/4.387, allocations: 8 kB / 3.014 GB, free: 73.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/4.387, allocations: 3.984 kB / 3.014 GB, free: 73.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/4.387, allocations: 84.8 kB / 3.014 GB, free: 73.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/4.388, allocations: 135.8 kB / 3.014 GB, free: 73.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/4.389, allocations: 1.457 MB / 3.015 GB, free: 72.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/4.39, allocations: 59.53 kB / 3.015 GB, free: 71.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/4.39, allocations: 27.97 kB / 3.015 GB, free: 71.96 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 (75): * Single equations (assignments): 74 * 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.0001822/4.39, allocations: 122.5 kB / 3.015 GB, free: 71.83 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001303/4.392, allocations: 0.6486 MB / 3.016 GB, free: 71.17 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/4.392, allocations: 71.16 kB / 3.016 GB, free: 71.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/4.394, allocations: 0.9065 MB / 3.017 GB, free: 70.18 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/4.394, allocations: 8 kB / 3.017 GB, free: 70.17 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/4.394, allocations: 4 kB / 3.017 GB, free: 70.17 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/4.394, allocations: 3.984 kB / 3.017 GB, free: 70.16 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/4.396, allocations: 1.71 MB / 3.019 GB, free: 68.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/4.396, allocations: 0 / 3.019 GB, free: 68.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/4.397, allocations: 147.8 kB / 3.019 GB, free: 68.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/4.397, allocations: 84.77 kB / 3.019 GB, free: 68.18 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/4.397, allocations: 15.98 kB / 3.019 GB, free: 68.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/4.399, allocations: 1.473 MB / 3.02 GB, free: 66.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/4.399, allocations: 0 / 3.02 GB, free: 66.57 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/4.4, allocations: 0.8221 MB / 3.021 GB, free: 65.73 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/4.401, allocations: 271.9 kB / 3.022 GB, free: 65.45 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/4.401, allocations: 4 kB / 3.022 GB, free: 65.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/4.401, allocations: 63.83 kB / 3.022 GB, free: 65.38 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/4.402, allocations: 56.69 kB / 3.022 GB, free: 65.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/4.402, allocations: 35.98 kB / 3.022 GB, free: 65.29 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004799/4.402, allocations: 398.9 kB / 3.022 GB, free: 64.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/4.402, allocations: 4 kB / 3.022 GB, free: 64.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001196/4.403, allocations: 346.8 kB / 3.022 GB, free: 64.56 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 (85): * Single equations (assignments): 82 * 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.003612/4.407, allocations: 2.343 MB / 3.025 GB, free: 62.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001155/4.408, allocations: 0.6516 MB / 3.025 GB, free: 61.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/4.408, allocations: 0 / 3.025 GB, free: 61.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006156/4.409, allocations: 448.5 kB / 3.026 GB, free: 61.19 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/4.41, allocations: 223 kB / 3.026 GB, free: 60.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/4.414, allocations: 1.525 MB / 3.027 GB, free: 59.41 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/4.414, allocations: 1.031 MB / 3.028 GB, free: 58.35 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008784/4.415, allocations: 253.8 kB / 3.029 GB, free: 58.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/4.416, allocations: 375.3 kB / 3.029 GB, free: 57.73 MB / 1.151 GB Notification: Performance of SimCode: time 1.362e-06/4.416, allocations: 0 / 3.029 GB, free: 57.73 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06713/4.483, allocations: 23.25 MB / 3.052 GB, free: 34.62 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/4.483, allocations: 213.1 kB / 3.052 GB, free: 34.34 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/7.504, allocations: 0 / 3.052 GB, free: 34.34 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat