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.00101/0.00101, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001309/0.001309, allocations: 168.7 kB / 15.95 MB, free: 204 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.383/1.383, allocations: 223.2 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.468/2.468, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 16 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.626, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.003945/0.63, allocations: 3.972 MB / 0.985 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1291/0.759, allocations: 136.9 MB / 1.119 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008473/0.7599, allocations: 19.88 kB / 1.119 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006914/0.7606, allocations: 134.9 kB / 1.119 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.7625, allocations: 459.7 kB / 1.119 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.7644, allocations: 0.6749 MB / 1.12 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.7661, allocations: 1.234 MB / 1.121 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009187/0.7671, allocations: 0.5544 MB / 1.122 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.7677, allocations: 382.2 kB / 1.122 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.7684, allocations: 409.9 kB / 1.122 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.7685, allocations: 31.98 kB / 1.122 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.7692, allocations: 363.6 kB / 1.123 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.7695, allocations: 203 kB / 1.123 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.7697, allocations: 213.1 kB / 1.123 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.771, allocations: 1.313 MB / 1.125 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.771, allocations: 0 / 1.125 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.122e-06/0.771, allocations: 4 kB / 1.125 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.087e-05/0.7711, allocations: 0 / 1.125 GB, free: 3.016 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.002344/0.7734, allocations: 1.336 MB / 1.126 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.7734, allocations: 8.031 kB / 1.126 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.7736, allocations: 156.3 kB / 1.126 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.7745, allocations: 218.2 kB / 1.126 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.7755, allocations: 0.7661 MB / 1.127 GB, free: 448 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.7756, allocations: 77.97 kB / 1.127 GB, free: 368 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.7757, allocations: 96 kB / 1.127 GB, free: 272 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.7775, allocations: 1.063 MB / 1.128 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.7775, allocations: 0 / 1.128 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/0.7776, allocations: 43.98 kB / 1.128 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.7776, allocations: 24 kB / 1.128 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.7795, allocations: 1.233 MB / 1.129 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.7836, allocations: 2.948 MB / 1.132 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.7851, allocations: 0.8991 MB / 1.133 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.7856, allocations: 339.7 kB / 1.133 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.7857, allocations: 37.02 kB / 1.134 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008681/0.7865, allocations: 0.5513 MB / 1.134 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=92): time 1.984e-06/0.7866, allocations: 7.875 kB / 1.134 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92): time 0.002809/0.7894, allocations: 1.337 MB / 1.135 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.7895, allocations: 192.9 kB / 1.136 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.7903, allocations: 0.6802 MB / 1.136 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.7904, allocations: 45.7 kB / 1.136 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.7907, allocations: 444.3 kB / 1.137 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.791, allocations: 295.7 kB / 1.137 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.791, allocations: 19.94 kB / 1.137 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7912, allocations: 394.7 kB / 1.137 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.7917, allocations: 285.9 kB / 1.138 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.7923, allocations: 394.5 kB / 1.138 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.7928, allocations: 330.9 kB / 1.138 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7928, allocations: 0 / 1.138 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001704/0.7946, allocations: 0.9072 MB / 1.139 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.7946, allocations: 9.562 kB / 1.139 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.7946, allocations: 4.062 kB / 1.139 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.7951, allocations: 80.77 kB / 1.139 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.7958, allocations: 179.7 kB / 1.139 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.7977, allocations: 1.516 MB / 1.141 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.7983, allocations: 116.9 kB / 1.141 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.919e-05/0.7984, allocations: 35.97 kB / 1.141 GB, free: 1.477 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.0005132/0.7989, allocations: 300.4 kB / 1.141 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.799, allocations: 90.88 kB / 1.141 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.8015, allocations: 1.234 MB / 1.143 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.8015, allocations: 15.95 kB / 1.143 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8016, allocations: 0 / 1.143 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.536e-05/0.8016, allocations: 3.984 kB / 1.143 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.8029, allocations: 1.016 MB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.803, allocations: 0 / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.8036, allocations: 167.8 kB / 1.144 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.8041, allocations: 80.78 kB / 1.144 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.233e-05/0.8042, allocations: 31.97 kB / 1.144 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.8065, allocations: 1.555 MB / 1.145 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8065, allocations: 0 / 1.145 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.8086, allocations: 1.049 MB / 1.147 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/0.8091, allocations: 319.4 kB / 1.147 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.8093, allocations: 20 kB / 1.147 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.8101, allocations: 87.92 kB / 1.147 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.8103, allocations: 81.02 kB / 1.147 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/0.8104, allocations: 43.95 kB / 1.147 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008007/0.8112, allocations: 499 kB / 1.148 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8112, allocations: 0 / 1.148 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009591/0.8122, allocations: 355.1 kB / 1.148 GB, free: 10.32 MB / 0.9044 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.003561/0.8157, allocations: 2.111 MB / 1.15 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.8174, allocations: 0.8976 MB / 1.151 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8174, allocations: 0 / 1.151 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009146/0.8183, allocations: 0.5706 MB / 1.151 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.8194, allocations: 265.7 kB / 1.152 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.8296, allocations: 5.675 MB / 1.157 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.8303, allocations: 1.083 MB / 1.158 GB, free: 15.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009101/0.8313, allocations: 279.4 kB / 1.158 GB, free: 15.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.8319, allocations: 439.2 kB / 1.159 GB, free: 14.97 MB / 0.92 GB Notification: Performance of SimCode: time 4.11e-07/0.8319, allocations: 0 / 1.159 GB, free: 14.97 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/1.004, allocations: 23.43 MB / 1.182 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.004, allocations: 305.1 kB / 1.182 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.551, allocations: 3.656 kB / 1.182 GB, free: 7.617 MB / 0.9356 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