Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.352/2.352, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001213/0.001213, allocations: 179.4 kB / 0.4901 GB, free: 2.246 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.557/1.557, 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.0008513/0.0008513, allocations: 90.39 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 11.47 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3143, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.301/4.616, allocations: 1.733 GB / 2.962 GB, free: 253.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/4.616, allocations: 103.9 kB / 2.963 GB, free: 253.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1465/4.763, allocations: 69.99 MB / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.665e-06/4.763, allocations: 0 / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001215/4.763, allocations: 28 kB / 3.031 GB, free: 182.8 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003033/4.766, allocations: 1.274 MB / 3.032 GB, free: 181.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/4.766, allocations: 12.03 kB / 3.032 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/4.766, allocations: 151.8 kB / 3.032 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008783/4.767, allocations: 202.4 kB / 3.033 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/4.768, allocations: 0.6425 MB / 3.033 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/4.768, allocations: 70 kB / 3.033 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.642e-05/4.768, allocations: 92 kB / 3.033 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/4.77, allocations: 0.9808 MB / 3.034 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/4.77, allocations: 3.938 kB / 3.034 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/4.77, allocations: 51.89 kB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/4.77, allocations: 28 kB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/4.771, allocations: 1.163 MB / 3.035 GB, free: 178 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/4.775, allocations: 2.776 MB / 3.038 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/4.776, allocations: 0.8033 MB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/4.776, allocations: 32.61 kB / 3.039 GB, free: 174.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000656/4.777, allocations: 463.2 kB / 3.039 GB, free: 173.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 3.096e-06/4.777, allocations: 0 / 3.039 GB, free: 173.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.002802/4.78, allocations: 1.179 MB / 3.041 GB, free: 172.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/4.78, allocations: 244 kB / 3.041 GB, free: 172.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/4.781, allocations: 0.6168 MB / 3.041 GB, free: 171.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/4.781, allocations: 41.7 kB / 3.041 GB, free: 171.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/4.781, allocations: 416.2 kB / 3.042 GB, free: 171.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/4.781, allocations: 260.2 kB / 3.042 GB, free: 171 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/4.781, allocations: 16 kB / 3.042 GB, free: 171 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001072/4.781, allocations: 386.7 kB / 3.043 GB, free: 170.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/4.782, allocations: 241.9 kB / 3.043 GB, free: 170.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/4.782, allocations: 363.4 kB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/4.783, allocations: 298.8 kB / 3.043 GB, free: 169.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/4.783, allocations: 0 / 3.043 GB, free: 169.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001565/4.784, allocations: 0.798 MB / 3.044 GB, free: 168.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/4.784, allocations: 7.938 kB / 3.044 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/4.784, allocations: 4 kB / 3.044 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/4.785, allocations: 80.84 kB / 3.044 GB, free: 168.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/4.785, allocations: 155.8 kB / 3.044 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/4.787, allocations: 1.533 MB / 3.046 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/4.788, allocations: 91.23 kB / 3.046 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/4.788, allocations: 31.98 kB / 3.046 GB, free: 166.8 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 (84): * Single equations (assignments): 83 * 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.0004504/4.788, allocations: 262.8 kB / 3.046 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/4.788, allocations: 86.97 kB / 3.046 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/4.791, allocations: 1.116 MB / 3.047 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/4.791, allocations: 15.94 kB / 3.047 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/4.791, allocations: 0 / 3.047 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/4.791, allocations: 3.984 kB / 3.047 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/4.793, allocations: 2.064 MB / 3.049 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/4.793, allocations: 0 / 3.049 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/4.794, allocations: 163.7 kB / 3.05 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/4.795, allocations: 84.77 kB / 3.05 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/4.795, allocations: 23.98 kB / 3.05 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/4.796, allocations: 1.552 MB / 3.051 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/4.796, allocations: 3.953 kB / 3.051 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/4.798, allocations: 0.9804 MB / 3.052 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/4.798, allocations: 307.5 kB / 3.052 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/4.798, allocations: 20 kB / 3.053 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/4.799, allocations: 71.94 kB / 3.053 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/4.799, allocations: 61.19 kB / 3.053 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/4.799, allocations: 35.98 kB / 3.053 GB, free: 159.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005878/4.8, allocations: 0.5029 MB / 3.053 GB, free: 159.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.8, allocations: 0 / 3.053 GB, free: 159.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00118/4.801, allocations: 407 kB / 3.054 GB, free: 158.9 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 (94): * Single equations (assignments): 91 * 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.003715/4.805, allocations: 2.53 MB / 3.056 GB, free: 156.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001439/4.806, allocations: 0.7806 MB / 3.057 GB, free: 155.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/4.806, allocations: 4 kB / 3.057 GB, free: 155.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007559/4.807, allocations: 0.5158 MB / 3.057 GB, free: 155.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/4.808, allocations: 251.3 kB / 3.058 GB, free: 154.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008433/4.816, allocations: 5.436 MB / 3.063 GB, free: 149.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/4.817, allocations: 1.063 MB / 3.064 GB, free: 148.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008867/4.818, allocations: 266.6 kB / 3.064 GB, free: 148.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/4.818, allocations: 405.2 kB / 3.065 GB, free: 147.7 MB / 1.167 GB Notification: Performance of SimCode: time 8.556e-06/4.818, allocations: 3.938 kB / 3.065 GB, free: 147.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/4.865, allocations: 30.84 MB / 3.095 GB, free: 117.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/4.865, allocations: 303.2 kB / 3.095 GB, free: 116.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/7.858, allocations: 0 / 3.095 GB, free: 116.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat does not exist to compare? outputFormat=mat