Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.526/2.526, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001001, allocations: 179 kB / 0.4901 GB, free: 2.25 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.537/1.537, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001055/0.001055, allocations: 99.77 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004232, allocations: 6.969 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.262/4.539, allocations: 1.731 GB / 2.961 GB, free: 219.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004289/4.539, allocations: 95.27 kB / 2.961 GB, free: 219.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1303/4.669, allocations: 58.92 MB / 3.018 GB, free: 169.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.236e-06/4.67, allocations: 0 / 3.018 GB, free: 169.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001082/4.67, allocations: 20 kB / 3.018 GB, free: 169.3 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002971/4.673, allocations: 1.162 MB / 3.019 GB, free: 168.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/4.673, allocations: 12.03 kB / 3.019 GB, free: 168.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000349/4.673, allocations: 128 kB / 3.019 GB, free: 168.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/4.674, allocations: 182.6 kB / 3.02 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/4.675, allocations: 0.606 MB / 3.02 GB, free: 167.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/4.676, allocations: 63.94 kB / 3.02 GB, free: 167.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/4.676, allocations: 70.19 kB / 3.02 GB, free: 167.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/4.677, allocations: 0.83 MB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/4.677, allocations: 4 kB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/4.677, allocations: 36.89 kB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/4.677, allocations: 16 kB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/4.679, allocations: 1.056 MB / 3.022 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/4.683, allocations: 2.378 MB / 3.025 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/4.684, allocations: 0.795 MB / 3.025 GB, free: 163.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/4.684, allocations: 32.53 kB / 3.025 GB, free: 163.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006512/4.685, allocations: 414.7 kB / 3.026 GB, free: 162.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.697e-06/4.685, allocations: 0 / 3.026 GB, free: 162.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002771/4.688, allocations: 1.07 MB / 3.027 GB, free: 162 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/4.688, allocations: 247.9 kB / 3.027 GB, free: 161.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/4.689, allocations: 0.5721 MB / 3.028 GB, free: 161.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/4.689, allocations: 44.62 kB / 3.028 GB, free: 161.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/4.689, allocations: 367.7 kB / 3.028 GB, free: 161 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/4.689, allocations: 233.2 kB / 3.028 GB, free: 160.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/4.689, allocations: 11 kB / 3.028 GB, free: 160.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001059/4.689, allocations: 381 kB / 3.029 GB, free: 160.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/4.69, allocations: 210 kB / 3.029 GB, free: 160.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/4.69, allocations: 327.5 kB / 3.029 GB, free: 160.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/4.69, allocations: 253.7 kB / 3.029 GB, free: 159.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/4.69, allocations: 0 / 3.029 GB, free: 159.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001583/4.692, allocations: 0.7077 MB / 3.03 GB, free: 159.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/4.692, allocations: 10.25 kB / 3.03 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/4.692, allocations: 0 / 3.03 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/4.693, allocations: 83.64 kB / 3.03 GB, free: 159.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/4.693, allocations: 134.7 kB / 3.03 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/4.695, allocations: 1.533 MB / 3.032 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/4.696, allocations: 78.67 kB / 3.032 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/4.696, allocations: 27.5 kB / 3.032 GB, free: 157.5 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0004452/4.696, allocations: 245.6 kB / 3.032 GB, free: 157.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/4.696, allocations: 83.02 kB / 3.032 GB, free: 157.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/4.698, allocations: 0.9724 MB / 3.033 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/4.698, allocations: 12 kB / 3.033 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/4.698, allocations: 0 / 3.033 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/4.698, allocations: 3.984 kB / 3.033 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/4.701, allocations: 1.852 MB / 3.035 GB, free: 155.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/4.701, allocations: 7.953 kB / 3.035 GB, free: 155.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/4.702, allocations: 139.4 kB / 3.035 GB, free: 155 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/4.703, allocations: 75.59 kB / 3.035 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/4.703, allocations: 27.23 kB / 3.035 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/4.704, allocations: 1.558 MB / 3.037 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/4.704, allocations: 0 / 3.037 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/4.706, allocations: 0.8935 MB / 3.038 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/4.706, allocations: 275.2 kB / 3.038 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/4.706, allocations: 18.5 kB / 3.038 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/4.707, allocations: 70.19 kB / 3.038 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/4.707, allocations: 56.55 kB / 3.038 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/4.707, allocations: 35.55 kB / 3.038 GB, free: 152.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006695/4.708, allocations: 479.3 kB / 3.039 GB, free: 151.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/4.708, allocations: 0 / 3.039 GB, free: 151.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001288/4.709, allocations: 350.4 kB / 3.039 GB, free: 151.6 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003804/4.713, allocations: 2.42 MB / 3.041 GB, free: 149.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001304/4.714, allocations: 0.6991 MB / 3.042 GB, free: 149 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/4.714, allocations: 4 kB / 3.042 GB, free: 149 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/4.715, allocations: 472.7 kB / 3.042 GB, free: 148.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/4.716, allocations: 238.1 kB / 3.043 GB, free: 148.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008075/4.724, allocations: 4.897 MB / 3.047 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/4.725, allocations: 1.009 MB / 3.048 GB, free: 143.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008206/4.725, allocations: 253.9 kB / 3.049 GB, free: 143 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/4.726, allocations: 342.2 kB / 3.049 GB, free: 142.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/4.726, allocations: 0 / 3.049 GB, free: 142.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/4.772, allocations: 28.83 MB / 3.077 GB, free: 114.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/4.773, allocations: 292.5 kB / 3.077 GB, free: 114.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.115/7.887, allocations: 0 / 3.077 GB, free: 114.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat does not exist to compare? outputFormat=mat