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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002382/0.002382, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.702/2.702, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.345/4.345, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006655/0.0006657, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401/1.402, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.01046/1.413, allocations: 3.864 MB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3139/1.727, allocations: 127.7 MB / 1.109 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/1.729, allocations: 19.88 kB / 1.109 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/1.73, allocations: 87.19 kB / 1.109 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004407/1.734, allocations: 0.5247 MB / 1.11 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004682/1.739, allocations: 0.6517 MB / 1.111 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00378/1.743, allocations: 0.8923 MB / 1.111 GB, free: 244 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/1.745, allocations: 0.5545 MB / 1.112 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/1.747, allocations: 394.2 kB / 1.112 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/1.748, allocations: 389.9 kB / 1.113 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003569/1.749, allocations: 28 kB / 1.113 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/1.751, allocations: 327.6 kB / 1.113 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006898/1.751, allocations: 203.1 kB / 1.113 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008346/1.752, allocations: 217.1 kB / 1.113 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/1.756, allocations: 1.309 MB / 1.115 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.756, allocations: 0 / 1.115 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.208e-06/1.756, allocations: 7.938 kB / 1.115 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.737e-05/1.756, allocations: 0 / 1.115 GB, free: 12.81 MB / 0.8731 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.006528/1.762, allocations: 1.336 MB / 1.116 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 9.691e-05/1.762, allocations: 8.031 kB / 1.116 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008647/1.763, allocations: 156.3 kB / 1.116 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/1.766, allocations: 214.2 kB / 1.116 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/1.769, allocations: 0.77 MB / 1.117 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/1.77, allocations: 81.95 kB / 1.117 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/1.77, allocations: 96 kB / 1.117 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00512/1.775, allocations: 1.051 MB / 1.118 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/1.775, allocations: 4 kB / 1.118 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/1.776, allocations: 43.98 kB / 1.118 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/1.776, allocations: 24 kB / 1.118 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/1.78, allocations: 1.225 MB / 1.12 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/1.792, allocations: 2.958 MB / 1.123 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/1.795, allocations: 0.9148 MB / 1.123 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/1.795, allocations: 37.02 kB / 1.123 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/1.797, allocations: 0.5436 MB / 1.124 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 6.071e-06/1.797, allocations: 0 / 1.124 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.006546/1.804, allocations: 1.345 MB / 1.125 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/1.804, allocations: 196.8 kB / 1.125 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/1.806, allocations: 0.6724 MB / 1.126 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/1.806, allocations: 53.69 kB / 1.126 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006771/1.807, allocations: 444.4 kB / 1.127 GB, free: 316 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/1.807, allocations: 295.7 kB / 1.127 GB, free: 16 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/1.807, allocations: 16 kB / 1.127 GB, free: 0 / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003136/1.808, allocations: 394.7 kB / 1.127 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.809, allocations: 281.8 kB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/1.81, allocations: 398.5 kB / 1.128 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.811, allocations: 330.9 kB / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.811, allocations: 0 / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003734/1.815, allocations: 0.9072 MB / 1.129 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/1.815, allocations: 8 kB / 1.129 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.815, allocations: 0 / 1.129 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.816, allocations: 84.83 kB / 1.129 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.818, allocations: 183.6 kB / 1.129 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/1.821, allocations: 1.532 MB / 1.131 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.823, allocations: 114.9 kB / 1.131 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/1.823, allocations: 35.97 kB / 1.131 GB, free: 11.59 MB / 0.8887 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.001073/1.824, allocations: 287.3 kB / 1.131 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/1.825, allocations: 98.86 kB / 1.131 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005789/1.831, allocations: 1.238 MB / 1.133 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/1.831, allocations: 16 kB / 1.133 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.831, allocations: 3.953 kB / 1.133 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.831, allocations: 3.984 kB / 1.133 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/1.834, allocations: 1.013 MB / 1.134 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/1.834, allocations: 0 / 1.134 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.835, allocations: 171.8 kB / 1.134 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009859/1.837, allocations: 80.78 kB / 1.134 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/1.837, allocations: 31.97 kB / 1.134 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/1.84, allocations: 1.567 MB / 1.135 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.84, allocations: 0 / 1.135 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/1.845, allocations: 1.041 MB / 1.136 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.847, allocations: 319.4 kB / 1.137 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004636/1.847, allocations: 27.98 kB / 1.137 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.849, allocations: 87.92 kB / 1.137 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/1.849, allocations: 77.17 kB / 1.137 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.849, allocations: 43.97 kB / 1.137 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001658/1.851, allocations: 495 kB / 1.137 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.91e-07/1.851, allocations: 0 / 1.137 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002243/1.853, allocations: 351.1 kB / 1.138 GB, free: 4.422 MB / 0.8887 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.007225/1.86, allocations: 2.114 MB / 1.14 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003636/1.864, allocations: 0.8937 MB / 1.141 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.864, allocations: 4 kB / 1.141 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001905/1.866, allocations: 0.5706 MB / 1.141 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.868, allocations: 245.6 kB / 1.142 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.892, allocations: 6.09 MB / 1.147 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/1.893, allocations: 1.098 MB / 1.149 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001981/1.895, allocations: 279.4 kB / 1.149 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.897, allocations: 439.2 kB / 1.149 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of SimCode: time 2.064e-06/1.897, allocations: 0 / 1.149 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09537/1.992, allocations: 23.4 MB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004382/1.993, allocations: 303 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.135/6.127, allocations: 2.578 kB / 1.172 GB, free: 1.328 MB / 0.92 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) Environment - environmentSimulation: 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