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.438/2.438, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001312/0.001312, allocations: 172.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.756/1.756, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009244/0.0009241, allocations: 91.75 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.002e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3484, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.328/5.676, allocations: 1.733 GB / 2.952 GB, free: 102.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/5.676, allocations: 95.94 kB / 2.952 GB, free: 102.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.146/5.822, allocations: 69.68 MB / 3.02 GB, free: 32.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.633e-06/5.822, allocations: 0 / 3.02 GB, free: 32.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001148/5.823, allocations: 35.92 kB / 3.02 GB, free: 32.27 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.002494/5.825, allocations: 1.15 MB / 3.021 GB, free: 31.07 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/5.825, allocations: 12.03 kB / 3.021 GB, free: 31.05 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/5.825, allocations: 147.9 kB / 3.021 GB, free: 30.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/5.826, allocations: 194.4 kB / 3.022 GB, free: 30.71 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/5.827, allocations: 0.6579 MB / 3.022 GB, free: 30.01 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/5.827, allocations: 73.98 kB / 3.022 GB, free: 29.94 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/5.827, allocations: 92 kB / 3.022 GB, free: 29.85 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/5.829, allocations: 0.942 MB / 3.023 GB, free: 28.87 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/5.829, allocations: 0 / 3.023 GB, free: 28.87 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/5.829, allocations: 43.95 kB / 3.023 GB, free: 28.82 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/5.829, allocations: 27.94 kB / 3.023 GB, free: 28.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/5.83, allocations: 1.116 MB / 3.024 GB, free: 27.68 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/5.834, allocations: 2.773 MB / 3.027 GB, free: 24.83 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/5.835, allocations: 0.7612 MB / 3.028 GB, free: 24.05 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/5.835, allocations: 287.1 kB / 3.028 GB, free: 23.77 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.903e-05/5.835, allocations: 36.77 kB / 3.028 GB, free: 23.73 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/5.836, allocations: 449.2 kB / 3.029 GB, free: 23.28 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 3.507e-06/5.836, allocations: 0 / 3.029 GB, free: 23.28 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.001526/5.837, allocations: 0.7305 MB / 3.029 GB, free: 22.54 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/5.838, allocations: 248.1 kB / 3.03 GB, free: 22.24 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/5.838, allocations: 0.6168 MB / 3.03 GB, free: 21.62 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/5.838, allocations: 41.7 kB / 3.03 GB, free: 21.57 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/5.838, allocations: 416.3 kB / 3.031 GB, free: 21.16 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/5.839, allocations: 260.1 kB / 3.031 GB, free: 20.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/5.839, allocations: 12 kB / 3.031 GB, free: 20.89 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/5.839, allocations: 394.6 kB / 3.031 GB, free: 20.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/5.839, allocations: 221.5 kB / 3.032 GB, free: 20.28 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/5.839, allocations: 333.1 kB / 3.032 GB, free: 19.92 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/5.84, allocations: 274 kB / 3.032 GB, free: 19.65 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.84, allocations: 0 / 3.032 GB, free: 19.65 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001376/5.841, allocations: 0.75 MB / 3.033 GB, free: 18.89 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/5.841, allocations: 7.938 kB / 3.033 GB, free: 18.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/5.841, allocations: 0 / 3.033 GB, free: 18.89 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/5.842, allocations: 84.83 kB / 3.033 GB, free: 18.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/5.843, allocations: 159.8 kB / 3.033 GB, free: 18.64 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/5.844, allocations: 1.524 MB / 3.035 GB, free: 16.98 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/5.845, allocations: 83.41 kB / 3.035 GB, free: 16.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/5.845, allocations: 35.97 kB / 3.035 GB, free: 16.86 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 () * 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.000148/5.845, allocations: 147 kB / 3.035 GB, free: 16.71 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/5.845, allocations: 82.97 kB / 3.035 GB, free: 16.63 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/5.847, allocations: 1.064 MB / 3.036 GB, free: 15.55 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/5.847, allocations: 8 kB / 3.036 GB, free: 15.54 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/5.847, allocations: 0 / 3.036 GB, free: 15.54 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/5.847, allocations: 7.969 kB / 3.036 GB, free: 15.54 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/5.85, allocations: 2.007 MB / 3.038 GB, free: 13.47 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/5.85, allocations: 0 / 3.038 GB, free: 13.47 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/5.85, allocations: 155.8 kB / 3.038 GB, free: 13.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/5.851, allocations: 88.77 kB / 3.038 GB, free: 13.23 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/5.851, allocations: 27.98 kB / 3.038 GB, free: 13.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/5.852, allocations: 1.548 MB / 3.04 GB, free: 11.51 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/5.852, allocations: 0 / 3.04 GB, free: 11.51 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/5.854, allocations: 0.9274 MB / 3.041 GB, free: 10.57 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/5.854, allocations: 303.6 kB / 3.041 GB, free: 10.25 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/5.854, allocations: 23.98 kB / 3.041 GB, free: 10.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/5.855, allocations: 71.94 kB / 3.041 GB, free: 10.16 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/5.855, allocations: 64.69 kB / 3.041 GB, free: 10.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/5.855, allocations: 27.98 kB / 3.041 GB, free: 10.07 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005132/5.856, allocations: 0.4991 MB / 3.042 GB, free: 9.57 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.856, allocations: 0 / 3.042 GB, free: 9.57 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001123/5.857, allocations: 403 kB / 3.042 GB, free: 9.176 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) * 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.003382/5.86, allocations: 2.423 MB / 3.044 GB, free: 6.875 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001207/5.861, allocations: 0.7372 MB / 3.045 GB, free: 6.125 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/5.861, allocations: 0 / 3.045 GB, free: 6.125 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006581/5.862, allocations: 0.5027 MB / 3.046 GB, free: 5.605 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/5.863, allocations: 238 kB / 3.046 GB, free: 5.383 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/5.867, allocations: 1.689 MB / 3.047 GB, free: 3.652 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/5.867, allocations: 1.069 MB / 3.048 GB, free: 2.555 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007816/5.868, allocations: 266.6 kB / 3.049 GB, free: 2.289 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/5.868, allocations: 399.3 kB / 3.049 GB, free: 1.898 MB / 1.167 GB Notification: Performance of SimCode: time 7.52e-07/5.868, allocations: 0 / 3.049 GB, free: 1.898 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.734/6.602, allocations: 32.6 MB / 3.081 GB, free: 394.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/6.603, allocations: 260.9 kB / 3.081 GB, free: 394.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/9.544, allocations: 0 / 3.081 GB, free: 394.2 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