Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001224/0.001224, allocations: 180 kB / 492.3 MB, free: 0.6055 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.495/1.495, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009818/0.0009819, allocations: 89.12 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.76e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3286, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.232/5.56, allocations: 1.732 GB / 2.945 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/5.561, allocations: 92.5 kB / 2.945 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1585/5.719, allocations: 69.69 MB / 3.013 GB, free: 53.85 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.067e-06/5.72, allocations: 0 / 3.013 GB, free: 53.85 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000146/5.72, allocations: 31.94 kB / 3.013 GB, free: 53.82 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.00339/5.723, allocations: 1.149 MB / 3.014 GB, free: 52.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/5.723, allocations: 12.03 kB / 3.014 GB, free: 52.61 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004339/5.724, allocations: 147.9 kB / 3.014 GB, free: 52.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/5.725, allocations: 202.4 kB / 3.014 GB, free: 52.25 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/5.726, allocations: 0.6463 MB / 3.015 GB, free: 51.56 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/5.727, allocations: 74 kB / 3.015 GB, free: 51.49 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/5.727, allocations: 88 kB / 3.015 GB, free: 51.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/5.729, allocations: 0.9498 MB / 3.016 GB, free: 50.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/5.729, allocations: 0 / 3.016 GB, free: 50.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/5.729, allocations: 36 kB / 3.016 GB, free: 50.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/5.729, allocations: 27.95 kB / 3.016 GB, free: 50.35 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/5.731, allocations: 1.112 MB / 3.017 GB, free: 49.24 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007648/5.739, allocations: 2.781 MB / 3.02 GB, free: 46.39 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/5.741, allocations: 0.7524 MB / 3.021 GB, free: 45.61 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/5.741, allocations: 283.2 kB / 3.021 GB, free: 45.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/5.741, allocations: 36.72 kB / 3.021 GB, free: 45.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/5.743, allocations: 449.4 kB / 3.022 GB, free: 44.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 4.739e-06/5.743, allocations: 0 / 3.022 GB, free: 44.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.002663/5.745, allocations: 0.7305 MB / 3.022 GB, free: 44.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/5.745, allocations: 252 kB / 3.022 GB, free: 43.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/5.747, allocations: 0.6168 MB / 3.023 GB, free: 43.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.804e-05/5.747, allocations: 37.7 kB / 3.023 GB, free: 43.13 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/5.747, allocations: 420.2 kB / 3.024 GB, free: 42.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/5.747, allocations: 260.2 kB / 3.024 GB, free: 42.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/5.748, allocations: 11.94 kB / 3.024 GB, free: 42.45 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001563/5.748, allocations: 390.7 kB / 3.024 GB, free: 42.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/5.748, allocations: 225.5 kB / 3.024 GB, free: 41.84 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/5.749, allocations: 325.1 kB / 3.025 GB, free: 41.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/5.75, allocations: 282 kB / 3.025 GB, free: 41.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/5.75, allocations: 0 / 3.025 GB, free: 41.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002218/5.752, allocations: 0.7461 MB / 3.026 GB, free: 40.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/5.752, allocations: 8.062 kB / 3.026 GB, free: 40.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/5.752, allocations: 0 / 3.026 GB, free: 40.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000786/5.753, allocations: 88.77 kB / 3.026 GB, free: 40.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/5.754, allocations: 151.8 kB / 3.026 GB, free: 40.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/5.756, allocations: 1.529 MB / 3.027 GB, free: 38.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/5.757, allocations: 83.34 kB / 3.027 GB, free: 38.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/5.757, allocations: 27.98 kB / 3.028 GB, free: 38.43 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 (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.0002494/5.758, allocations: 158.3 kB / 3.028 GB, free: 38.27 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/5.758, allocations: 90.91 kB / 3.028 GB, free: 38.18 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/5.761, allocations: 1.056 MB / 3.029 GB, free: 37.11 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/5.761, allocations: 8 kB / 3.029 GB, free: 37.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/5.761, allocations: 0 / 3.029 GB, free: 37.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/5.761, allocations: 3.984 kB / 3.029 GB, free: 37.09 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/5.766, allocations: 2.007 MB / 3.031 GB, free: 35.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/5.766, allocations: 0 / 3.031 GB, free: 35.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009637/5.767, allocations: 163.8 kB / 3.031 GB, free: 34.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006857/5.767, allocations: 88.77 kB / 3.031 GB, free: 34.77 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/5.767, allocations: 23.98 kB / 3.031 GB, free: 34.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/5.77, allocations: 1.544 MB / 3.033 GB, free: 33.07 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.77, allocations: 7.891 kB / 3.033 GB, free: 33.06 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/5.772, allocations: 0.9275 MB / 3.033 GB, free: 32.12 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007916/5.773, allocations: 303.5 kB / 3.034 GB, free: 31.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/5.773, allocations: 19.95 kB / 3.034 GB, free: 31.78 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/5.774, allocations: 71.94 kB / 3.034 GB, free: 31.71 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/5.774, allocations: 68.62 kB / 3.034 GB, free: 31.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/5.775, allocations: 27.98 kB / 3.034 GB, free: 31.62 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001238/5.776, allocations: 0.4991 MB / 3.034 GB, free: 31.12 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.42e-07/5.776, allocations: 0 / 3.034 GB, free: 31.12 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002292/5.778, allocations: 407 kB / 3.035 GB, free: 30.72 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 (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.006292/5.784, allocations: 2.426 MB / 3.037 GB, free: 28.42 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002003/5.787, allocations: 0.7375 MB / 3.038 GB, free: 27.67 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/5.787, allocations: 0 / 3.038 GB, free: 27.67 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/5.788, allocations: 0.4951 MB / 3.038 GB, free: 27.17 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/5.789, allocations: 248.8 kB / 3.039 GB, free: 26.93 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/5.796, allocations: 1.685 MB / 3.04 GB, free: 25.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/5.796, allocations: 1.063 MB / 3.041 GB, free: 24.11 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001408/5.798, allocations: 266.6 kB / 3.042 GB, free: 23.84 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007798/5.799, allocations: 403.3 kB / 3.042 GB, free: 23.45 MB / 1.151 GB Notification: Performance of SimCode: time 1.362e-06/5.799, allocations: 0 / 3.042 GB, free: 23.45 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7372/6.536, allocations: 32.59 MB / 3.074 GB, free: 387 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/6.536, allocations: 255.6 kB / 3.074 GB, free: 386.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/9.733, allocations: 3.656 kB / 3.074 GB, free: 386.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat does not exist to compare? outputFormat=mat