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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 91.06 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 16 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7249, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004063/0.729, allocations: 3.974 MB / 0.9577 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.9006, allocations: 136.9 MB / 1.091 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.9019, allocations: 19.88 kB / 1.091 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000827/0.9028, allocations: 130.9 kB / 1.092 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.905, allocations: 465.3 kB / 1.092 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.9076, allocations: 0.6645 MB / 1.093 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.9098, allocations: 1.23 MB / 1.094 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.9111, allocations: 0.566 MB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009279/0.912, allocations: 378.2 kB / 1.095 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009701/0.913, allocations: 417.8 kB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.9133, allocations: 28 kB / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.9146, allocations: 355.7 kB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.9151, allocations: 203 kB / 1.096 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.9155, allocations: 221.1 kB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.9176, allocations: 1.309 MB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.9177, allocations: 3.938 kB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9177, allocations: 0 / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.378e-05/0.9177, allocations: 0 / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003153/0.9209, allocations: 1.336 MB / 1.099 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.9209, allocations: 8.031 kB / 1.099 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002381/0.9212, allocations: 156.3 kB / 1.099 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.9221, allocations: 214.2 kB / 1.099 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.9233, allocations: 0.7661 MB / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.9234, allocations: 74.02 kB / 1.1 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.9235, allocations: 96 kB / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.9254, allocations: 1.063 MB / 1.101 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.9255, allocations: 7.891 kB / 1.101 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.9256, allocations: 44 kB / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.9256, allocations: 28 kB / 1.101 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.9276, allocations: 1.229 MB / 1.102 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004869/0.9325, allocations: 2.953 MB / 1.105 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.9341, allocations: 0.8847 MB / 1.106 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.9346, allocations: 343.7 kB / 1.106 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.9348, allocations: 37.02 kB / 1.106 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009901/0.9358, allocations: 0.5513 MB / 1.107 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=92): time 2.465e-06/0.9358, allocations: 0 / 1.107 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92): time 0.003306/0.9391, allocations: 1.333 MB / 1.108 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.9392, allocations: 200.9 kB / 1.108 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.9402, allocations: 0.6725 MB / 1.109 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.9403, allocations: 49.58 kB / 1.109 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.9408, allocations: 452.2 kB / 1.109 GB, free: 44 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.9411, allocations: 299.7 kB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.9412, allocations: 16 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.9414, allocations: 394.7 kB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.942, allocations: 281.9 kB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/0.9427, allocations: 398.5 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.9433, allocations: 338.8 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9434, allocations: 0 / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002006/0.9454, allocations: 0.9073 MB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.9454, allocations: 5.562 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9454, allocations: 0 / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/0.946, allocations: 84.83 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.9468, allocations: 179.7 kB / 1.112 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.9491, allocations: 1.516 MB / 1.114 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009601/0.95, allocations: 111.2 kB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/0.9501, allocations: 27.98 kB / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0007516/0.9509, allocations: 297.5 kB / 1.114 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.9511, allocations: 90.88 kB / 1.114 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.9539, allocations: 1.242 MB / 1.115 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.9539, allocations: 12 kB / 1.115 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9539, allocations: 0 / 1.115 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.954, allocations: 3.984 kB / 1.115 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.9554, allocations: 1.024 MB / 1.116 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9554, allocations: 0 / 1.116 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.9561, allocations: 171.8 kB / 1.117 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.9566, allocations: 80.78 kB / 1.117 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.9566, allocations: 31.97 kB / 1.117 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.9585, allocations: 1.548 MB / 1.118 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.9585, allocations: 8.016 kB / 1.118 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.9606, allocations: 1.045 MB / 1.119 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.9612, allocations: 319.4 kB / 1.12 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.9613, allocations: 27.94 kB / 1.12 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.9619, allocations: 83.31 kB / 1.12 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.9621, allocations: 84.88 kB / 1.12 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.9622, allocations: 43.91 kB / 1.12 GB, free: 5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007077/0.9629, allocations: 499 kB / 1.12 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9629, allocations: 0 / 1.12 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001019/0.9639, allocations: 351.1 kB / 1.121 GB, free: 4.172 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003559/0.9675, allocations: 2.109 MB / 1.123 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.9693, allocations: 0.8936 MB / 1.123 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9693, allocations: 0 / 1.123 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.9703, allocations: 0.5745 MB / 1.124 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.9715, allocations: 274.9 kB / 1.124 GB, free: 476 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.984, allocations: 5.683 MB / 1.13 GB, free: 10.63 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008836/0.985, allocations: 1.072 MB / 1.131 GB, free: 9.535 MB / 0.8888 GB Notification: Performance of simCode: alias equations: time 0.001127/0.9861, allocations: 275.4 kB / 1.131 GB, free: 9.262 MB / 0.8888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/0.9869, allocations: 439.2 kB / 1.132 GB, free: 8.832 MB / 0.8888 GB Notification: Performance of SimCode: time 1.172e-06/0.9869, allocations: 0 / 1.132 GB, free: 8.832 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/1.041, allocations: 23.44 MB / 1.154 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.041, allocations: 294.2 kB / 1.155 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.661, allocations: 0 / 1.155 GB, free: 1.449 MB / 0.9044 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